HERE Android SDK Developer's Guide

VenueGestureListener

The class VenueGestureListener is a member of com.here.android.mpa.venues3d .

Class Summary

public class VenueGestureListener

   implements com.here.android.mpa.mapping.MapGesture.OnGestureListener, com.here.android.mpa.venues3d.VenueMapFragment.VenueListener

extends java.lang.Object

VenueGestureListener provides an application a possibility to use Venue Zoom with conventional pinch zoom gesture.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in VenueGestureListener
Constructors

VenueGestureListener (VenueLayerAdapter venueLayer, int pixelDensity)

Method Summary

Table 2. Methods in VenueGestureListener
Methods

public boolean onDoubleTapEvent (PointF p)

public void onFloorChanged (Venue venue, Level level, Level level1)

public boolean onLongPressEvent (PointF p)

public void onLongPressRelease ()

public boolean onMapObjectsSelected (java.util.List <ViewObject> objects)

public void onMultiFingerManipulationEnd ()

public void onMultiFingerManipulationStart ()

public void onPanEnd ()

public void onPanStart ()

public void onPinchLocked ()

public boolean onPinchZoomEvent (float scaleFactor, PointF p)

public boolean onRotateEvent (float rotateAngle)

public void onRotateLocked ()

public void onSpaceDeselected (Venue venue, Space space)

public void onSpaceSelected (Venue venue, Space space)

public boolean onTapEvent (PointF p)

public boolean onTiltEvent (float angle)

public boolean onTwoFingerTapEvent (PointF p)

public void onVenueDeselected (Venue venue, DeselectionSource deselectionSource)

public void onVenueSelected (Venue venue)

public void onVenueTapped (Venue venue, float v, float v1)

public void onVenueVisibleInViewport (Venue venue, boolean b)

Class Details

VenueGestureListener provides an application a possibility to use Venue Zoom with conventional pinch zoom gesture. Up to the maximum zoom level supported by Map, the gestures are handled by the current default gesture handler. When zooming more in with pinch gesture, the Venue Zoom is activated. Zooming out using pinch gesture will deactivate Venue Zoom and return back to normal zoom range.

Constructor Details

VenueGestureListener (VenueLayerAdapter venueLayer, int pixelDensity)

Parameters:

  • venueLayer
  • pixelDensity

Method Details

public boolean onDoubleTapEvent (PointF p)

Parameters:

  • p

public void onFloorChanged (Venue venue, Level level, Level level1)

Parameters:

  • venue
  • level
  • level1

public boolean onLongPressEvent (PointF p)

Parameters:

  • p

public void onLongPressRelease ()

public boolean onMapObjectsSelected (java.util.List <ViewObject> objects)

Parameters:

  • objects

public void onMultiFingerManipulationEnd ()

public void onMultiFingerManipulationStart ()

public void onPanEnd ()

public void onPanStart ()

public void onPinchLocked ()

public boolean onPinchZoomEvent (float scaleFactor, PointF p)

Parameters:

  • scaleFactor
  • p

public boolean onRotateEvent (float rotateAngle)

Parameters:

  • rotateAngle

public void onRotateLocked ()

public void onSpaceDeselected (Venue venue, Space space)

Parameters:

  • venue
  • space

public void onSpaceSelected (Venue venue, Space space)

Parameters:

  • venue
  • space

public boolean onTapEvent (PointF p)

Parameters:

  • p

public boolean onTiltEvent (float angle)

Parameters:

  • angle

public boolean onTwoFingerTapEvent (PointF p)

Parameters:

  • p

public void onVenueDeselected (Venue venue, DeselectionSource deselectionSource)

Parameters:

  • venue
  • deselectionSource

public void onVenueSelected (Venue venue)

Parameters:

  • venue

public void onVenueTapped (Venue venue, float v, float v1)

Parameters:

  • venue
  • v
  • v1

public void onVenueVisibleInViewport (Venue venue, boolean b)

Parameters:

  • venue
  • b