Package globus.glmap

Class GLMapImageGroup


public final class GLMapImageGroup extends GLMapDrawObject
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 Details

    • 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 images
      drawOrder - 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 - if true, image variants will also be updated
      See Also: