Package globus.glmap

Class GLMapImage

    • Constructor Detail

      • GLMapImage

        public GLMapImage​(int drawOrder)
        Creates new empty image with given draw order
        Parameters:
        drawOrder - Draw order used to sort objects on map
      • GLMapImage

        public GLMapImage()
        Creates new empty image that will be injected to map
    • Method Detail

      • setBitmap

        public void setBitmap​(@NonNull
                              android.graphics.Bitmap bitmap,
                              @Nullable
                              java.lang.Runnable onReadyToDraw)
        Sets new image to draw
        Parameters:
        bitmap - new image to draw
        onReadyToDraw - optional runnable that called when image ready to draw
      • setBitmap

        public void setBitmap​(@NonNull
                              android.graphics.Bitmap bitmap)
        Sets new image to draw
        Parameters:
        bitmap - new image to draw