Inheritance diagram for com.navigine.idl.java.internal.ClusterMapObjectBinding:Public Member Functions | |
| native boolean | isValid () |
| boolean | setBitmap (com.navigine.image.ImageProvider bitmap) |
| Method is used to specify the decoded raster for the cluster marker. | |
| void | addListener (ClusterMapObjectListener listener) |
| Adds a listener for cluster state updates ClusterMapObjectListener. | |
| void | removeListener (ClusterMapObjectListener listener) |
| Removes a previously added listener. | |
| LocationPoint | getPosition () |
| Cluster center in metrics coordinates. | |
| int | getCount () |
| Number of icon map objects in the cluster (at least 2 while the cluster is visible). | |
| ArrayList< IconMapObject > | getIconMapObjects () |
| Icon map objects currently grouped into this cluster. | |
| 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. | |
Protected Attributes | |
| Subscription< ClusterMapObjectListener > | weakClusterMapObjectListenerSubscription |
Definition at line 16 of file ClusterMapObjectBinding.java.
|
inline |
Adds a listener for cluster state updates ClusterMapObjectListener.
| listener | Listener instance. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ClusterMapObject.
Definition at line 46 of file ClusterMapObjectBinding.java.
|
inline |
Number of icon map objects in the cluster (at least 2 while the cluster is visible).
Reimplemented from com.navigine.idl.java.ClusterMapObject.
Definition at line 67 of file ClusterMapObjectBinding.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 97 of file ClusterMapObjectBinding.java.
|
inline |
Icon map objects currently grouped into this cluster.
Reimplemented from com.navigine.idl.java.ClusterMapObject.
Definition at line 74 of file ClusterMapObjectBinding.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 83 of file ClusterMapObjectBinding.java.
|
inline |
Cluster center in metrics coordinates.
Reimplemented from com.navigine.idl.java.ClusterMapObject.
Definition at line 60 of file ClusterMapObjectBinding.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 90 of file ClusterMapObjectBinding.java.
| native boolean com.navigine.idl.java.internal.ClusterMapObjectBinding.isValid | ( | ) |
Tells if this ClusterMapObject is valid or not. Any other method (except for this one) called on an invalid ClusterMapObject will throw java.lang.RuntimeException.
Reimplemented from com.navigine.idl.java.ClusterMapObject.
|
inline |
Removes a previously added listener.
| listener | Listener instance to remove. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ClusterMapObject.
Definition at line 53 of file ClusterMapObjectBinding.java.
|
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 132 of file ClusterMapObjectBinding.java.
|
inline |
Method is used to specify the decoded raster for the cluster marker.
| 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.ClusterMapObject.
Definition at line 39 of file ClusterMapObjectBinding.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 118 of file ClusterMapObjectBinding.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 111 of file ClusterMapObjectBinding.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 125 of file ClusterMapObjectBinding.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 104 of file ClusterMapObjectBinding.java.
|
protected |
Definition at line 25 of file ClusterMapObjectBinding.java.