Package globus.glmap
Class GLMapMarkerStyleCollectionDataCallback
- java.lang.Object
-
- globus.glmap.GLMapMarkerStyleCollectionDataCallback
-
public abstract class GLMapMarkerStyleCollectionDataCallback extends java.lang.ObjectGLMapMarkerStyleCollectionDataCallbackis called for each marker or cluster to get display data
-
-
Constructor Summary
Constructors Constructor Description GLMapMarkerStyleCollectionDataCallback()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidfillData(java.lang.Object marker, long nativeMarkerObject)Called for each marker to set other propertiesabstract voidfillUnionData(int markersCount, long nativeMarkerObject)Called for each cluster to fill it's data.abstract MapPointgetLocation(java.lang.Object marker)Called for each marker to set it's location
-
-
-
Method Detail
-
getLocation
public abstract MapPoint getLocation(@NonNull java.lang.Object marker)
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:
GLMapMarkerStyleCollection.setMarkerStyle(long, int),GLMapMarkerStyleCollection.setMarkerText(long, String, Point, GLMapVectorStyle)
-
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:
GLMapMarkerStyleCollection.setMarkerStyle(long, int)
-
fillData
public abstract void fillData(@NonNull java.lang.Object marker, long nativeMarkerObject)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:
GLMapMarkerStyleCollection.setMarkerStyle(long, int),GLMapMarkerStyleCollection.setMarkerText(long, String, Point, GLMapVectorStyle)
-
-