com.amazon.geo.mapsv2.AmazonMap.OnMarkerClickListener |
Interface for receiving callbacks when the user clicks a Marker
.
Callbacks always occur on the main thread.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the user clicks a
Marker . |
Called when the user clicks a Marker
. By default, clicking a
marker does the following:
setTitle(String)
.
isMapToolbarEnabled()
is true
.
To consume the marker click event and block the the default behavior,
return true
. To allow the default behavior, return
false
.
marker | The Marker the user clicked. |
---|
true
to consume the event and block the default
behavior, or false
to allow the default behavior.