Package globus.glmap
Class GLMapMarkerStyleCollectionDataCallback
java.lang.Object
globus.glmap.GLMapMarkerStyleCollectionDataCallback
GLMapMarkerStyleCollectionDataCallback
is called for each marker or cluster to get
display data-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
Called for each marker to set other propertiesabstract void
fillUnionData
(int markersCount, long nativeMarkerObject) Called for each cluster to fill it's data.abstract MapPoint
getLocation
(Object marker) Called for each marker to set it's location
-
Constructor Details
-
GLMapMarkerStyleCollectionDataCallback
public GLMapMarkerStyleCollectionDataCallback()
-
-
Method Details
-
getLocation
Called for each marker to set it's location- Parameters:
marker
- Object that was passed while GLMapMarkerLayer was created or added by GLMapMarkerLayer#modify function- Returns:
- location of cluster
- See Also:
-
fillUnionData
public abstract void fillUnionData(int markersCount, long nativeMarkerObject) Called for each cluster to fill it's data.- Parameters:
markersCount
- Number of markers in that clusternativeMarkerObject
- Native object that needs display data- See Also:
-
fillData
Called for each marker to set other properties- Parameters:
marker
- Object that was passed while GLMapMarkerLayer was created or added by GLMapMarkerLayer#modify functionnativeMarkerObject
- Native object that needs display data- See Also:
-