Package globus.glmap

Class 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.
    • Method Summary

      Modifier and Type Method Description
      void setNeedsUpdate​(boolean updateVariants)
      Triggers update images in group.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 images
        drawOrder - 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)