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
-
Constructor Summary
Constructors Constructor Description GLMapMarkerImage(java.lang.String name, android.graphics.Bitmap bitmap)Default constructorGLMapMarkerImage(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 bitmapBitmap -
offset
@Nullable public android.graphics.Point offsetOffset of image -
name
@NonNull public java.lang.String nameName 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 bitmapbitmap- bitmapoffset- offset of image
-
GLMapMarkerImage
public GLMapMarkerImage(java.lang.String name, android.graphics.Bitmap bitmap)Default constructor- Parameters:
name- name of imagebitmap- bitmap
-