Package com.arubanetworks.meridian.maps
Class OverlayMarker
java.lang.Object
com.arubanetworks.meridian.maprender.TextureProvider
com.arubanetworks.meridian.maps.Marker
com.arubanetworks.meridian.maps.OverlayMarker
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A factory class for creating OverlayMarkersNested classes/interfaces inherited from class com.arubanetworks.meridian.maps.Marker
Marker.CollisionType, Marker.MarkerListener
Nested classes/interfaces inherited from class com.arubanetworks.meridian.maprender.TextureProvider
TextureProvider.OverlayType
-
Constructor Summary
ConstructorsConstructorDescriptionOverlayMarker
(Context context, OverlayMarkerOptions options) OverlayMarker
(Context context, OverlayMarkerOptions options, Marker.MarkerListener listener) -
Method Summary
Modifier and TypeMethodDescriptionDefault implementation returns null.int
Access to overlay’s stroke colorint
Access to overlay’s fill colorfloat[]
Access to point values: first item in list is the number of pointsint
Access to overlay’s typefloat
Access to overlay’s stroke widthvoid
Methods inherited from class com.arubanetworks.meridian.maps.Marker
canBeSelected, getAlpha, getAnchor, getCalloutDetails, getCalloutTitle, getCollision, getCollisionCondition, getDetails, getDropShadowBitmap, getMaxZoomLevel, getMinZoomLevel, getName, getPosition, getRotationFixedToMap, getScaleFixedToMap, getWeight, getXScale, getYScale, invalidate, invalidate, isDisabled, isDragDropEnabled, onTapped, setAlpha, setAnchor, setCollision, setCollisionCondition, setDetails, setDisabled, setDragDropEnabled, setListener, setMaxZoomLevel, setMinZoomLevel, setName, setPosition, setRotationFixedToMap, setScaleFixedToMap, setShowsCallout, setWeight, setXScale, setYScale, showsCallout, showsPinMarker
Methods inherited from class com.arubanetworks.meridian.maprender.TextureProvider
getId, getNativeBitmap, getOverlayColorInterface, getOverlayFillColorInterface, getOverlayPointsInterface, getOverlayTypeInterface, getOverlayWidthInterface, getSize, overlayClosed, setSize
-
Constructor Details
-
OverlayMarker
-
OverlayMarker
-
-
Method Details
-
getOverlayMarkerOptions
-
setOverlayMarkerOptions
-
getBitmap
Default implementation returns null.OverlayMarkers draw using data in OverlayType and OverlayPoints
- Specified by:
getBitmap
in classTextureProvider
- Returns:
- null
-
getOverlayPoints
public float[] getOverlayPoints()Access to point values: first item in list is the number of points- Overrides:
getOverlayPoints
in classTextureProvider
- Returns:
- points: [num, x1, y1, x2, y2, …]
-
getOverlayType
public int getOverlayType()Access to overlay’s type- Overrides:
getOverlayType
in classTextureProvider
- Returns:
TextureProvider
.OverlayType
-
getOverlayWidth
public float getOverlayWidth()Access to overlay’s stroke width- Overrides:
getOverlayWidth
in classTextureProvider
- Returns:
- stroke width
-
getOverlayColor
public int getOverlayColor()Access to overlay’s stroke color- Overrides:
getOverlayColor
in classTextureProvider
- Returns:
- stroke color (ARGB)
-
getOverlayFillColor
public int getOverlayFillColor()Access to overlay’s fill color- Overrides:
getOverlayFillColor
in classTextureProvider
- Returns:
- fill color (ARGB)
-