MapView
Types
Interface for listening to draw events on the map view.
Interface for listening to pre-draw events on the map view.
Properties
LiveData that provides access to the current camera target.
LiveData that can be observed for the current DownloadResult providing information about map download operations.
LiveData that can be observed for the current MapContext
The scroll view which contains the map view. This is to ensure map gestures work correctly when the map view is nested inside a scroll view.
The insets from the left/top/right/bottom of the View to define the safe area
Functions
Adds a listener to receive notifications when buildings become focused or unfocused.
Adds the specified Journey to the map view.
Adds the specified LocationMarker to the MapView.
Adds the specified map layer to the MapView.
Adds a listener that will be called when the map view is being drawn.
Adds a listener that will be called before the map view is drawn.
Clears the currently selected level, returning to the default view.
Returns the smallest circle which covers the given coordinates.
Converts the specified geographic coordinate to a point relative to the MapView's bounds.
Converts the specified geographic coordinate to a point relative to the MapView's bounds.
Converts the specified map point to a point relative to the MapView's bounds.
Converts the specified map point to a point relative to the MapView's bounds.
Returns the LocationResponseOnMap for the specified LocationId.
Sets one or more of the position, heading and elevation of the camera, optionally with an animation.
Override the current color transformation mode of the map view.
Override the current lights mode of the map view.
Removes all the Journeys from the map view.
Removes a previously added focused building listener.
Removes the specified Journey from the map view.
Removes the specified LocationMarker from the MapView if it exists.
Removes the specified map layer from the MapView if it exists.
Removes a previously added draw listener.
Removes a previously added pre-draw listener.
Calculates the scale in pixels per metre for the given coordinates