public class HighlightedMarkers extends Marker
A marker which represents a collection of markers which are highlighted (selected) on the map.
| Modifier and Type | Class and Description |
|---|---|
static class |
HighlightedMarkers.Builder
A factory class for creating HighlightedMarkers
|
Marker.CollisionType, Marker.MarkerListenerTextureProvider.OverlayType| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeSelected()
If a marker can be selected, when a user taps on it a callout panel will be shown and a pin will be placed on top of the marker.
|
boolean |
containsHighlightedMarker(Marker marker) |
boolean |
containsMarker(Marker marker) |
android.graphics.Bitmap |
getBitmap()
Default implementation returns null.
|
Marker |
markerForHighlightedMarker(Marker highlightedMarker) |
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, showsPinMarkergetId, getNativeBitmap, getOverlayColor, getOverlayColorInterface, getOverlayFillColor, getOverlayFillColorInterface, getOverlayPoints, getOverlayPointsInterface, getOverlayType, getOverlayTypeInterface, getOverlayWidth, getOverlayWidthInterface, getSize, overlayClosed, setSizepublic android.graphics.Bitmap getBitmap()
Default implementation returns null.
getBitmap in class TextureProviderpublic boolean canBeSelected()
MarkerIf a marker can be selected, when a user taps on it a callout panel will be shown and a pin will be placed on top of the marker. It’s true by default. Override to change this behavior.
canBeSelected in class Markerpublic boolean containsMarker(Marker marker)
public boolean containsHighlightedMarker(Marker marker)