Package globus.glmap
Class GLMapImageGroup
java.lang.Object
globus.glmap.GLNativeObject
globus.glmap.GLMapDrawObject
globus.glmap.GLMapImageGroup
@ParametersAreNonnullByDefault public final class GLMapImageGroup extends GLMapDrawObject
GLMapImageGroup is 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, setHiddenMethods inherited from class globus.glmap.GLNativeObject
disposeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GLMapImageGroup
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 Details
-
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)
-