Package globus.glmap

Class GLMapMarkerImage

java.lang.Object
globus.glmap.GLMapMarkerImage

public class GLMapMarkerImage extends Object
GLMapMarkerImage holds information of image used by GLMapMarkerStyleCollection
  • Field Details

    • bitmap

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

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

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

    • GLMapMarkerImage

      public GLMapMarkerImage(@NonNull 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 String name, @NonNull android.graphics.Bitmap bitmap)
      Default constructor
      Parameters:
      name - name of image
      bitmap - bitmap