Package globus.glmap

Class GLMapMarkerImage


  • public class GLMapMarkerImage
    extends java.lang.Object
    GLMapMarkerImage holds information of image used by GLMapMarkerStyleCollection
    • Field Summary

      Fields 
      Modifier and Type Field Description
      android.graphics.Bitmap bitmap
      Bitmap
      java.lang.String name
      Name of bitmap.
      android.graphics.Point offset
      Offset of image
    • Constructor Summary

      Constructors 
      Constructor Description
      GLMapMarkerImage​(java.lang.String name, android.graphics.Bitmap bitmap)
      Default constructor
      GLMapMarkerImage​(java.lang.String name, android.graphics.Bitmap bitmap, android.graphics.Point offset)
      Constructor with offset
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bitmap

        @NonNull
        public android.graphics.Bitmap bitmap
        Bitmap
      • offset

        @Nullable
        public android.graphics.Point offset
        Offset of image
      • name

        @NonNull
        public java.lang.String name
        Name of bitmap. Different images must have different names. Used for reusing same bitmaps in native code
    • Constructor Detail

      • GLMapMarkerImage

        public GLMapMarkerImage​(@NonNull
                                java.lang.String name,
                                @NonNull
                                android.graphics.Bitmap bitmap,
                                @Nullable
                                android.graphics.Point offset)
        Constructor with offset
        Parameters:
        name - name of bitmap
        bitmap - bitmap
        offset - offset of image
      • GLMapMarkerImage

        public GLMapMarkerImage​(@NonNull
                                java.lang.String name,
                                @NonNull
                                android.graphics.Bitmap bitmap)
        Default constructor
        Parameters:
        name - name of image
        bitmap - bitmap