Package globus.glmap
Class GLMapMarkerStyleCollectionDataCallback
java.lang.Object
globus.glmap.GLMapMarkerStyleCollectionDataCallback
@ParametersAreNonnullByDefault
public abstract class GLMapMarkerStyleCollectionDataCallback
extends java.lang.Object
GLMapMarkerStyleCollectionDataCallback is called for each marker or cluster to get display data-
Constructor Summary
Constructors Constructor Description GLMapMarkerStyleCollectionDataCallback() -
Method Summary
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 locationMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
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(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)
-