public class GLMapMarkerStyleCollection extends GLNativeObject
GLMapMarkerStyleCollection holds collection of styles, used to draw marker layer.| Constructor and Description |
|---|
GLMapMarkerStyleCollection() |
| Modifier and Type | Method and Description |
|---|---|
int |
addStyle(GLMapMarkerImage image)
Adds new style to collection
|
int |
addStyle(GLMapMarkerImage[] images)
Adds new style to collection
|
long |
getDisposeFunction() |
void |
setDataCallback(GLMapMarkerStyleCollectionDataCallback dataCallback)
Sets dataCallback that will be used by markerLayer to get display information about markers
|
static void |
setMarkerStyle(long nativeMarkerObject,
int style)
Sets style of marker.
|
static void |
setMarkerText(long nativeMarkerObject,
java.lang.String text,
android.graphics.Point offset,
GLMapVectorStyle style)
Sets text for marker.
|
void |
setStyleName(int styleIndex,
java.lang.String name)
Sets name for style that can be used from mapcss
|
disposepublic long getDisposeFunction()
public int addStyle(GLMapMarkerImage[] images)
images - array of images to display for markerpublic void setStyleName(int styleIndex,
java.lang.String name)
styleIndex - index of stylename - name to setpublic int addStyle(GLMapMarkerImage image)
image - image to display for markerpublic void setDataCallback(GLMapMarkerStyleCollectionDataCallback dataCallback)
dataCallback - callback that will be used to get display information about markerspublic static void setMarkerStyle(long nativeMarkerObject,
int style)
GLMapMarkerStyleCollectionDataCallbacknativeMarkerObject - native marker object that was passed as argument to GLMapMarkerStyleCollectionDataCallbackstyle - style of marker to usepublic static void setMarkerText(long nativeMarkerObject,
java.lang.String text,
android.graphics.Point offset,
GLMapVectorStyle style)
GLMapMarkerStyleCollectionDataCallbacknativeMarkerObject - native marker object that was passed as argument to GLMapMarkerStyleCollectionDataCallback*text - text to setoffset - offset of text from marker locationstyle - style to use for textCopyright © 2018 GetYourMap. All Rights Reserved.