Package globus.glmap

Class GLMapMarkerImage

java.lang.Object
globus.glmap.GLMapMarkerImage

@ParametersAreNonnullByDefault
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 Details

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

    • GLMapMarkerImage

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

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