Class ScaleHandler
Package com.here.sdk.gestures
Class ScaleHandler
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.gestures.ScaleHandler
-
public final class ScaleHandler extends NativeBase
This class handles scale events by zooming the map accordingly.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonScale(float originX, float originY, float factor)To be called to trigger scale gesture handling.
-
-
-
Method Detail
-
onScale
public void onScale(float originX, float originY, float factor)To be called to trigger scale gesture handling.
- Parameters:
originX-Origin of the scaling on x axis in pixels.
originY-Origin of the scaling on y axis in pixels.
factor-The scale factor. Values above 1.0 will zoom in and values below will zoom out.
-
-