Package globus.glmap
Class GLMapImageGroup
java.lang.Object
globus.glmap.GLNativeObject
globus.glmap.GLMapDrawObject
globus.glmap.GLMapImageGroup
Displays a large number of images using a small set of shared bitmaps.
Image groups are useful when you have many instances (e.g. 1000 bookmarks) that use a limited set of variants (e.g. 10 icons).
-
Constructor Summary
ConstructorsConstructorDescriptionGLMapImageGroup(GLMapImageGroupCallback callback, int drawOrder) Initializes group with callback and drawOrder -
Method Summary
Modifier and TypeMethodDescriptionvoidsetNeedsUpdate(boolean updateVariants) Triggers an update of images in the group.Methods inherited from class globus.glmap.GLMapDrawObject
getDrawOrder, isHidden, setHiddenMethods inherited from class globus.glmap.GLNativeObject
dispose
-
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 an update of images in the group.- Parameters:
updateVariants- iftrue, image variants will also be updated- See Also:
-