Package globus.glmap

Class GLMapImageGroup


  • 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 Detail

      • 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 Detail

      • setNeedsUpdate

        public void setNeedsUpdate​(boolean updateVariants)
        Triggers update images in group.
        Parameters:
        updateVariants - if true image variants will be also updated.
        See Also:
        GLMapViewRenderer.remove(GLMapDrawObject)