Class is used to interact with the view. More...
Public Member Functions | |
abstract void | setSublocationId (int id) |
Method is used to switch location view between sublocations (floors). | |
abstract Point | screenPositionToMeters (android.graphics.PointF point) |
Method is used to convert screen (pixels) coordinates to metrics coordinates. | |
abstract android.graphics.PointF | metersToScreenPosition (Point point, boolean clipToViewport) |
Method is used to convert metrics coordinates to screen (pixels) coordinates. | |
abstract CircleMapObject | addCircleMapObject () |
Method is used to create and add circle map object to the location view. | |
abstract boolean | removeCircleMapObject (CircleMapObject circleMapObject) |
Method is used to remove circle map object from the location view. | |
abstract IconMapObject | addIconMapObject () |
Method is used to create and add icon map object to the location view. | |
abstract boolean | removeIconMapObject (IconMapObject iconMapObject) |
Method is used to remove icon map object from the location view. | |
abstract FlatIconMapObject | addFlatIconMapObject () |
Method is used to create and add flat icon map object to the location view. | |
abstract boolean | removeFlatIconMapObject (FlatIconMapObject flatIconMapObject) |
Method is used to remove flat icon map object from the location view. | |
abstract PolygonMapObject | addPolygonMapObject () |
Method is used to create and add polygon map object to the location view. | |
abstract boolean | removePolygonMapObject (PolygonMapObject polygonMapObject) |
Method is used to remove polygon map object from the location view. | |
abstract PolylineMapObject | addPolylineMapObject () |
Method is used to create and add polyline map object to the location view. | |
abstract boolean | removePolylineMapObject (PolylineMapObject polylineMapObject) |
Method is used to remove polyline map object from the location view. | |
abstract void | removeAllMapObjects () |
Method is used to remove all object from the location view. | |
abstract void | pickMapObjectAt (android.graphics.PointF point) |
Method is used to select a visible map object marked as interactive MapObject. The result will be delivered to the PickListener by onMapObjectPickComplete PickListener. | |
abstract void | pickMapFeatureAt (android.graphics.PointF point) |
Method is used to select a visible map features, such as venues etc. The result will be delivered to the PickListener by onMapFeaturePickComplete PickListener. | |
abstract void | addPickListener (PickListener listener) |
Method is used to add PickListener class element which will notify all picking results events. | |
abstract void | removePickListener (PickListener listener) |
Method is used for removing previously added PickListener class element. | |
abstract void | addInputListener (InputListener listener) |
Method is used to add InputListener class element which will notify input events. | |
abstract void | removeInputListener (InputListener listener) |
Method is used for removing previously added InputListener class element. | |
abstract void | addCameraListener (CameraListener listener) |
Method is used to add CameraListener class element which will notify camera movements events. | |
abstract void | removeCameraListener (CameraListener listener) |
Method is used for removing previously added CameraListener class element. | |
abstract void | flyTo (Camera camera, int duration, CameraCallback callback) |
Move the map camera to a new position with an easing animation. | |
abstract boolean | selectMapFeature (String featureId) |
Selects a map feature with the specified featureId. | |
abstract boolean | deselectMapFeature (String featureId) |
Deselects a map feature with the specified featureId. | |
abstract void | deselectAllMapFeatures () |
Resets the currently selected map features. | |
abstract void | moveTo (Camera camera, int duration, AnimationType animationType, CameraCallback callback) |
Move the map camera to a new position with an animation that pans and zooms in a smooth arc. | |
abstract float | getZoomFactor () |
Parameter is used to change location view zoom. Value indicates count of pixels in 1 meter (default: approx 100m in screen width). | |
abstract void | setZoomFactor (float newZoomFactor) |
Parameter is used to change location view zoom. Value indicates count of pixels in 1 meter (default: approx 100m in screen width). | |
abstract float | getMinZoomFactor () |
Minimum zoomFactor value (ZoomFactor parameter). | |
abstract void | setMinZoomFactor (float newMinZoomFactor) |
Minimum zoomFactor value (ZoomFactor parameter). | |
abstract float | getMaxZoomFactor () |
Maximum zoomFactor value (ZoomFactor parameter). | |
abstract void | setMaxZoomFactor (float newMaxZoomFactor) |
Maximum zoomFactor value (ZoomFactor parameter). | |
abstract boolean | getStickToBorder () |
Parameter is used to enable/disable sublocation content sticking to screen borders. If true image sticking to screen bounds, if false sticking to center of screen (Default: true). | |
abstract void | setStickToBorder (boolean newStickToBorder) |
Parameter is used to enable/disable sublocation content sticking to screen borders. If true image sticking to screen bounds, if false sticking to center of screen (Default: true). | |
abstract Camera | getCamera () |
Current camera position in meters. | |
abstract void | setCamera (Camera newCamera) |
Current camera position in meters. | |
abstract boolean | getRotateGestureEnabled () |
Parameter is used to enable/disable rotation gestures, such as rotation with two fingers. | |
abstract void | setRotateGestureEnabled (boolean newRotateGestureEnabled) |
Parameter is used to enable/disable rotation gestures, such as rotation with two fingers. | |
abstract boolean | getTiltGesturesEnabled () |
Parameter is used to enable/disable tilt gestures, such as parallel pan with two fingers. | |
abstract void | setTiltGesturesEnabled (boolean newTiltGesturesEnabled) |
Parameter is used to enable/disable tilt gestures, such as parallel pan with two fingers. | |
abstract boolean | getScrollGesturesEnabled () |
Parameter is used to enable/disable scroll gestures, such as the pan gesture. | |
abstract void | setScrollGesturesEnabled (boolean newScrollGesturesEnabled) |
Parameter is used to enable/disable scroll gestures, such as the pan gesture. | |
abstract boolean | getZoomGesturesEnabled () |
Parameter is used to enable/disable zoom gestures, such as the pinch with two fingers. | |
abstract void | setZoomGesturesEnabled (boolean newZoomGesturesEnabled) |
Parameter is used to enable/disable zoom gestures, such as the pinch with two fingers. | |
abstract float | getPickRadius () |
Radius to use when picking features on the map. The default radius is 0.5 dp (density-independent pixels). | |
abstract void | setPickRadius (float newPickRadius) |
Radius to use when picking features on the map. The default radius is 0.5 dp (density-independent pixels). | |
abstract ArrayList< String > | getSelectedMapFeatures () |
List of currently selected map features. | |
Static Public Member Functions | |
static void | setDebugFlag (DebugFlag flag, boolean on) |
static boolean | getDebugFlag (DebugFlag flag) |
Class is used to interact with the view.
Referenced from: LocationView,
Definition at line 19 of file LocationWindow.java.
|
abstract |
Method is used to add CameraListener class element which will notify camera movements events.
listener | Сorresponding CameraListener listener class. |
|
abstract |
Method is used to create and add circle map object to the location view.
|
abstract |
Method is used to create and add flat icon map object to the location view.
|
abstract |
Method is used to create and add icon map object to the location view.
|
abstract |
Method is used to add InputListener class element which will notify input events.
listener | Сorresponding InputListener listener class. |
|
abstract |
Method is used to add PickListener class element which will notify all picking results events.
listener | Сorresponding PickListener listener class. |
|
abstract |
Method is used to create and add polygon map object to the location view.
|
abstract |
Method is used to create and add polyline map object to the location view.
|
abstract |
Resets the currently selected map features.
|
abstract |
Deselects a map feature with the specified featureId.
featureId | featureId can be extracted from the mapFeaturePickResult container by using onMapFeaturePickComplete callback of PickListener. |
|
abstract |
Move the map camera to a new position with an easing animation.
camera | The new camera position |
duration | The animation duration in milliseconds |
callback | completion callback to execute when the animation completes |
|
abstract |
Current camera position in meters.
|
inlinestatic |
Definition at line 428 of file LocationWindow.java.
|
abstract |
Maximum zoomFactor value (ZoomFactor parameter).
|
abstract |
Minimum zoomFactor value (ZoomFactor parameter).
|
abstract |
Radius to use when picking features on the map. The default radius is 0.5 dp (density-independent pixels).
|
abstract |
Parameter is used to enable/disable rotation gestures, such as rotation with two fingers.
|
abstract |
Parameter is used to enable/disable scroll gestures, such as the pan gesture.
|
abstract |
List of currently selected map features.
|
abstract |
Parameter is used to enable/disable sublocation content sticking to screen borders. If true image sticking to screen bounds, if false sticking to center of screen (Default: true).
|
abstract |
Parameter is used to enable/disable tilt gestures, such as parallel pan with two fingers.
|
abstract |
Parameter is used to change location view zoom. Value indicates count of pixels in 1 meter (default: approx 100m in screen width).
|
abstract |
Parameter is used to enable/disable zoom gestures, such as the pinch with two fingers.
|
abstract |
Method is used to convert metrics coordinates to screen (pixels) coordinates.
point | (x,y) point in meters coordinates Point. |
clipToViewport | if true, results that would be outside the viewport are clipped to a position on the edge of the viewport in the direction of the location. |
|
abstract |
Move the map camera to a new position with an animation that pans and zooms in a smooth arc.
camera | The new camera position |
duration | Duration of the animation in milliseconds (-1 for default duration) |
animationType | The type of easing animation |
callback | A callback to execute when the animation completes |
|
abstract |
Method is used to select a visible map features, such as venues etc. The result will be delivered to the PickListener
by onMapFeaturePickComplete
PickListener.
point | position in the view to pick from, in pixels. |
|
abstract |
Method is used to select a visible map object marked as interactive
MapObject. The result will be delivered to the PickListener
by onMapObjectPickComplete
PickListener.
point | position in the view to pick from, in pixels. |
|
abstract |
Method is used to remove all object from the location view.
|
abstract |
Method is used for removing previously added CameraListener class element.
listener | Сorresponding CameraListener class to remove. |
|
abstract |
Method is used to remove circle map object from the location view.
circleMapObject | circle map object instance CircleMapObject. |
|
abstract |
Method is used to remove flat icon map object from the location view.
flatIconMapObject | flat icon map object instance FlatIconMapObject. |
|
abstract |
Method is used to remove icon map object from the location view.
iconMapObject | icon map object instance IconMapObject. |
|
abstract |
Method is used for removing previously added InputListener class element.
listener | Сorresponding InputListener class to remove. |
|
abstract |
Method is used for removing previously added PickListener class element.
listener | Сorresponding PickListener class to remove. |
|
abstract |
Method is used to remove polygon map object from the location view.
polygonMapObject | polygon map object instance PolygonMapObject. |
|
abstract |
Method is used to remove polyline map object from the location view.
polylineMapObject | polyline map object instance PolylineMapObject. |
|
abstract |
Method is used to convert screen (pixels) coordinates to metrics coordinates.
point | (x,y) point in screen pixels. |
|
abstract |
Selects a map feature with the specified featureId.
featureId | featureId can be extracted from the mapFeaturePickResult container by using onMapFeaturePickComplete callback of PickListener. |
|
abstract |
Current camera position in meters.
newCamera |
|
inlinestatic |
Definition at line 422 of file LocationWindow.java.
|
abstract |
Maximum zoomFactor value (ZoomFactor parameter).
newMaxZoomFactor |
|
abstract |
Minimum zoomFactor value (ZoomFactor parameter).
newMinZoomFactor |
|
abstract |
Radius to use when picking features on the map. The default radius is 0.5 dp (density-independent pixels).
newPickRadius |
|
abstract |
Parameter is used to enable/disable rotation gestures, such as rotation with two fingers.
newRotateGestureEnabled |
|
abstract |
Parameter is used to enable/disable scroll gestures, such as the pan gesture.
newScrollGesturesEnabled |
|
abstract |
Parameter is used to enable/disable sublocation content sticking to screen borders. If true image sticking to screen bounds, if false sticking to center of screen (Default: true).
newStickToBorder |
|
abstract |
Method is used to switch location view between sublocations (floors).
id | sublocation unique identifier Sublocation. |
|
abstract |
Parameter is used to enable/disable tilt gestures, such as parallel pan with two fingers.
newTiltGesturesEnabled |
|
abstract |
Parameter is used to change location view zoom. Value indicates count of pixels in 1 meter (default: approx 100m in screen width).
newZoomFactor |
|
abstract |
Parameter is used to enable/disable zoom gestures, such as the pinch with two fingers.
newZoomGesturesEnabled |