interface MarkerExtension
Basic settings for markers manipulation.
abstract fun addMarker(markerBuilder: MarkerBuilder!): Marker
Add marker to map. |
|
abstract fun findMarkerByID(id: Long): Optional<Marker!>
Find marker using its id. |
|
abstract fun findMarkerByPosition(location: LatLng!): Optional<Marker!>
Find marker using its location (latitude, longitude). |
|
abstract fun findMarkerByTag(tag: Serializable): Optional<Marker!>
Find marker using its tag. |
|
abstract fun getMarkers(): MutableList<Marker!>
Get list of all markers added to map. Even marker which already not visible on map. |
|
abstract fun removeMarker(marker: Marker!): Unit
Remove selected marker, if added to the map. |
|
abstract fun removeMarkerByID(id: Long): Unit
Remove marker by marker id. Because id is unique, method should remove one marker. |
|
abstract fun removeMarkerByTag(tag: Serializable!): Unit
Remove all markers with tag. |
|
abstract fun removeMarkers(): Unit
Remove all markers from the map. |
|
abstract fun zoomToAllMarkers(): Unit
Zoom map to level where all markers are visible. |
interface MarkerSettings : MarkerExtension, MarkersCallbackExtension, Persistable, TomtomMapCallback.OnMapTapListener, TomtomMapCallback.OnMapChangedListener
Advanced settings for markers manipulation. To obtain this interface, call TomtomMap.getMarkerSettings |
|
interface TomtomMap : RouteExtension, MarkerExtension, MapManipulationExtension, MapInfoExtension, MapCallbacksExtension, MapViewExtension, MarkersCallbackExtension, OverlaysCallbackExtension, RouteCallbackExtension, LocationSourceExtension, OnRequestPermissionsResultCallback, CameraCallbacksExtension
Interface that is the main entry point for all methods related to the map. |