public class OverlayMarker extends Marker
Modifier and Type | Class and Description |
---|---|
static class |
OverlayMarker.Builder
A factory class for creating OverlayMarkers
|
Marker.CollisionType, Marker.MarkerListener
TextureProvider.OverlayType
Constructor and Description |
---|
OverlayMarker(android.content.Context context,
OverlayMarkerOptions options) |
OverlayMarker(android.content.Context context,
OverlayMarkerOptions options,
Marker.MarkerListener listener) |
Modifier and Type | Method and Description |
---|---|
android.graphics.Bitmap |
getBitmap()
Default implementation returns null.
|
int |
getOverlayColor()
Access to overlay’s stroke color
|
int |
getOverlayFillColor()
Access to overlay’s fill color
|
OverlayMarkerOptions |
getOverlayMarkerOptions() |
float[] |
getOverlayPoints()
Access to point values: first item in list is the number of points
|
int |
getOverlayType()
Access to overlay’s type
|
float |
getOverlayWidth()
Access to overlay’s stroke width
|
void |
setOverlayMarkerOptions(OverlayMarkerOptions options) |
canBeSelected, getAlpha, getAnchor, getCalloutDetails, getCalloutTitle, getCollision, getCollisionCondition, getDetails, getMaxZoomLevel, getMinZoomLevel, getName, getPosition, getRotationFixedToMap, getScaleFixedToMap, getWeight, getXScale, getYScale, invalidate, invalidate, isDisabled, onTapped, setAlpha, setAnchor, setCollision, setCollisionCondition, setDetails, setDisabled, setListener, setMaxZoomLevel, setMinZoomLevel, setName, setPosition, setRotationFixedToMap, setScaleFixedToMap, setShowsCallout, setWeight, setXScale, setYScale, showsCallout, showsPinMarker
getId, getNativeBitmap, getOverlayColorInterface, getOverlayFillColorInterface, getOverlayPointsInterface, getOverlayTypeInterface, getOverlayWidthInterface, getSize, overlayClosed, setSize
public OverlayMarker(android.content.Context context, OverlayMarkerOptions options)
public OverlayMarker(android.content.Context context, OverlayMarkerOptions options, Marker.MarkerListener listener)
public OverlayMarkerOptions getOverlayMarkerOptions()
public void setOverlayMarkerOptions(OverlayMarkerOptions options)
public android.graphics.Bitmap getBitmap()
Default implementation returns null. OverlayMarkers draw using data in OverlayType and OverlayPoints
getBitmap
in class TextureProvider
public float[] getOverlayPoints()
Access to point values: first item in list is the number of points
getOverlayPoints
in class TextureProvider
public int getOverlayType()
Access to overlay’s type
getOverlayType
in class TextureProvider
TextureProvider
.OverlayTypepublic float getOverlayWidth()
Access to overlay’s stroke width
getOverlayWidth
in class TextureProvider
public int getOverlayColor()
Access to overlay’s stroke color
getOverlayColor
in class TextureProvider
public int getOverlayFillColor()
Access to overlay’s fill color
getOverlayFillColor
in class TextureProvider