Inheritance diagram for com.navigine.idl.java.internal.IconMapObjectBinding:Public Member Functions | |
| native boolean | isValid () |
| boolean | setPosition (LocationPoint point) |
| Method is used to specify the center of the icon. | |
| boolean | setPositionAnimated (LocationPoint point, float duration, AnimationType type) |
| Method is used to move the center of the icon with the specified animation. | |
| boolean | setBitmap (com.navigine.image.ImageProvider bitmap) |
| Method is used to specify the decoded raster for the icon. | |
| boolean | setSize (float width, float height) |
| Method is used to specify the size of the icon. | |
| boolean | setCollisionEnabled (boolean enabled) |
| Method is used to enable or disable collision detection for the icon. | |
| boolean | setAngle (float angle) |
| Method is used to specify the rotation angle of the icon. | |
| boolean | setAngleAnimated (float angle, float duration, AnimationType type) |
| Method is used to rotate the icon with the specified animation. | |
| boolean | setBuffer (float width, float height) |
| Method is used to specify the buffer size around the icon for collision detection. | |
| boolean | setOffset (float width, float height) |
| Method is used to specify an offset for the icon’s anchor on screen. | |
| boolean | setPriority (float priority) |
| Method is used to specify the priority of the icon. | |
| boolean | setFlat (boolean flat) |
| Method is used to specify whether the icon is flat or billboarded. | |
| int | getId () |
| Gets the unique identifier of the map object. | |
| MapObjectType | getType () |
| Gets the type of the map object. | |
| byte[] | getData () |
| Gets the user-defined data associated with the map object. | |
| boolean | setVisible (boolean visible) |
| Method is used to specify the visibility of the map object. | |
| boolean | setInteractive (boolean interactive) |
| Method is used to specify whether the map object can be interacted with. | |
| void | setData (byte[] data) |
| Method is used to set user-defined data for the map object. | |
| boolean | setTitle (String title) |
| Method is used to set the title of the map object. | |
| boolean | setAlpha (float alpha) |
| Method is used to set the opacity of the map object. | |
Definition at line 13 of file IconMapObjectBinding.java.
|
inline |
Gets the user-defined data associated with the map object.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 121 of file IconMapObjectBinding.java.
|
inline |
Gets the unique identifier of the map object.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 107 of file IconMapObjectBinding.java.
|
inline |
Gets the type of the map object.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 114 of file IconMapObjectBinding.java.
| native boolean com.navigine.idl.java.internal.IconMapObjectBinding.isValid | ( | ) |
Tells if this IconMapObject is valid or not. Any other method (except for this one) called on an invalid IconMapObject will throw java.lang.RuntimeException.
Reimplemented from com.navigine.idl.java.IconMapObject.
|
inline |
Method is used to set the opacity of the map object.
| alpha | Opacity multiplier. Values below 0 will be set to 0. Values above 1 will be set to 1. Default: 1. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 156 of file IconMapObjectBinding.java.
|
inline |
Method is used to specify the rotation angle of the icon.
| angle | Rotation angle in degrees. Default: 0. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.IconMapObject.
Definition at line 63 of file IconMapObjectBinding.java.
|
inline |
Method is used to rotate the icon with the specified animation.
| angle | Rotation angle in degrees. |
| duration | Animation duration in seconds. |
| type | Animation type AnimationType. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.IconMapObject.
Definition at line 70 of file IconMapObjectBinding.java.
|
inline |
Method is used to specify the decoded raster for the icon.
| bitmap | Image provider: Android com.navigine.image.ImageProvider; iOS UIImage via binding; Flutter navigine_sdk ImageProvider. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.IconMapObject.
Definition at line 42 of file IconMapObjectBinding.java.
|
inline |
Method is used to specify the buffer size around the icon for collision detection.
| width | Width of the buffer in pixels. Default: 0. |
| height | Height of the buffer in pixels. Default: 0. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.IconMapObject.
Definition at line 77 of file IconMapObjectBinding.java.
|
inline |
Method is used to enable or disable collision detection for the icon.
| enabled | Specifies whether collision detection is enabled (true) or disabled (false). Default: false. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.IconMapObject.
Definition at line 56 of file IconMapObjectBinding.java.
|
inline |
Method is used to set user-defined data for the map object.
| data | Data to store in the map object. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 142 of file IconMapObjectBinding.java.
|
inline |
Method is used to specify whether the icon is flat or billboarded.
| flat | If true, the icon aligns with the location view surface; if false, it maintains orientation to the screen surface. Default: false. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.IconMapObject.
Definition at line 98 of file IconMapObjectBinding.java.
|
inline |
Method is used to specify whether the map object can be interacted with.
| interactive | Specifies whether the object can be picked in the pickMapObjectAt method (true) or not (false). Default: false. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 135 of file IconMapObjectBinding.java.
|
inline |
Method is used to specify an offset for the icon’s anchor on screen.
| width | Horizontal offset in pixels. |
| height | Vertical offset in pixels. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.IconMapObject.
Definition at line 84 of file IconMapObjectBinding.java.
|
inline |
Method is used to specify the center of the icon.
| point | Metrics coordinates of the center LocationPoint. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.IconMapObject.
Definition at line 28 of file IconMapObjectBinding.java.
|
inline |
Method is used to move the center of the icon with the specified animation.
| point | Metrics coordinates of the center LocationPoint. |
| duration | Animation duration in seconds. |
| type | Animation type AnimationType. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.IconMapObject.
Definition at line 35 of file IconMapObjectBinding.java.
|
inline |
Method is used to specify the priority of the icon.
| priority | The priority value for rendering or interaction. Default: max. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.IconMapObject.
Definition at line 91 of file IconMapObjectBinding.java.
|
inline |
Method is used to specify the size of the icon.
| width | Width of the icon in pixels. |
| height | Height of the icon in pixels. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.IconMapObject.
Definition at line 49 of file IconMapObjectBinding.java.
|
inline |
Method is used to set the title of the map object.
| title | The title to display on the location view. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 149 of file IconMapObjectBinding.java.
|
inline |
Method is used to specify the visibility of the map object.
| visible | Specifies whether the object is visible (true) or hidden (false). Default: true. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 128 of file IconMapObjectBinding.java.