Package globus.glmap
Class GLMapImageGroup
- java.lang.Object
-
- globus.glmap.GLNativeObject
-
- globus.glmap.GLMapDrawObject
-
- globus.glmap.GLMapImageGroup
-
@ParametersAreNonnullByDefault 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
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(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:
GLMapView.remove(GLMapDrawObject)
-
-