Package globus.glmap
Class GLMapImage
- java.lang.Object
-
- globus.glmap.GLNativeObject
-
- globus.glmap.GLMapDrawObject
-
- globus.glmap.GLMapDrawable
-
- globus.glmap.GLMapImage
-
public class GLMapImage extends GLMapDrawable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class globus.glmap.GLMapDrawable
GLMapDrawable.TransformMode
-
-
Constructor Summary
Constructors Constructor Description GLMapImage()Creates new empty image that will be injected to mapGLMapImage(int drawOrder)Creates new empty image with given draw order
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetBitmap(android.graphics.Bitmap bitmap)Sets new image to drawvoidsetBitmap(android.graphics.Bitmap bitmap, java.lang.Runnable onReadyToDraw)Sets new image to draw-
Methods inherited from class globus.glmap.GLMapDrawable
getAngle, getHeight, getOffset, getPosition, getScale, getWidth, hitTest, isRotatesWithMap, setAngle, setOffset, setPosition, setRotatesWithMap, setScale, setTransformMode
-
Methods inherited from class globus.glmap.GLMapDrawObject
getDrawOrder, isHidden, setHidden
-
Methods inherited from class globus.glmap.GLNativeObject
dispose
-
-
-
-
Method Detail
-
setBitmap
public void setBitmap(@NonNull android.graphics.Bitmap bitmap, @Nullable java.lang.Runnable onReadyToDraw)Sets new image to draw- Parameters:
bitmap- new image to drawonReadyToDraw- optional runnable that called when image ready to draw
-
setBitmap
public void setBitmap(@NonNull android.graphics.Bitmap bitmap)Sets new image to draw- Parameters:
bitmap- new image to draw
-
-