Package globus.glmap
Class GLMapMarkerImage
java.lang.Object
globus.glmap.GLMapMarkerImage
GLMapMarkerImage
holds information of image used by GLMapMarkerStyleCollection-
Field Summary
-
Constructor Summary
ConstructorDescriptionGLMapMarkerImage
(String name, android.graphics.Bitmap bitmap) Default constructorGLMapMarkerImage
(String name, android.graphics.Bitmap bitmap, android.graphics.Point offset) Constructor with offset -
Method Summary
-
Field Details
-
bitmap
@NonNull public android.graphics.Bitmap bitmapBitmap -
offset
@Nullable public android.graphics.Point offsetOffset of image -
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 bitmapbitmap
- bitmapoffset
- offset of image
-
GLMapMarkerImage
Default constructor- Parameters:
name
- name of imagebitmap
- bitmap
-