Package globus.glmap
Class GLMapImageGroup
- java.lang.Object
-
- globus.glmap.GLNativeObject
-
- globus.glmap.GLMapDrawObject
-
- globus.glmap.GLMapImageGroup
-
public final class GLMapImageGroup extends GLMapDrawObject
GLMapImageGroupis a bridge class, to work with GLMap internal representation of image group. Image groups are used to display small set of images for the large number of locations. E.g. 10 kinds of bookmark at 1000 places on map.
-
-
Constructor Summary
Constructors Constructor Description GLMapImageGroup(GLMapImageGroupCallback callback, int drawOrder)Initializes group with callback and drawOrder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetNeedsUpdate(boolean updateVariants)Triggers update images in group.-
Methods inherited from class globus.glmap.GLMapDrawObject
getDrawOrder, isHidden, setHidden
-
Methods inherited from class globus.glmap.GLNativeObject
dispose
-
-
-
-
Constructor Detail
-
GLMapImageGroup
public GLMapImageGroup(@NonNull GLMapImageGroupCallback callback, int drawOrder)Initializes group with callback and drawOrder- Parameters:
callback- The callback that called by GLMapView to obtain information about imagesdrawOrder- Draw order used to sort objects on map
-
-
Method Detail
-
setNeedsUpdate
public void setNeedsUpdate(boolean updateVariants)
Triggers update images in group.- Parameters:
updateVariants- if true image variants will be also updated.- See Also:
GLMapViewRenderer.remove(GLMapDrawObject)
-
-