Registers OnLocationMarkerClickListener that will be notified about the click (aka tap) gesture recognized on the location marker. Both, the clicked position on the screen and the underlying location on the map, become parameters of the OnLocationMarkerClickListener.onLocationMarkerClick callback.
Registers OnMarkerLongClickListener that will be notified about the long press gesture recognized on the Marker. The clicked Marker becomes a parameter of the OnMarkerLongClickListener.onMarkerLongClicked callback.
Registers OnMarkerLongClickListener that will be notified when marker is selected or deselected. The selected Marker becomes a parameter of the OnMarkerSelectedListener.onMarkerSelectedStateChanged callback.
Allows to change the default gesture detection behaviour. For example invocation of this method with the following parameters: setExclusiveGestures(GestureType.ROTATION, setOf(GestureType.SCALE)) results in GestureType.ROTATION being ignored if its not already ongoing before GestureType.SCALE.
Converts a Point on the MapView to a position on the map. Returns Result with GeoPoint or InvalidPointException when cannot obtain a coordinate from the given point. It can occur when the point is not on the map.
Enables the location marker based on the supplied LocationMarkerOptions, replacing any existing location marker already visible. The location marker visualizes the users location on the map and can be of three types: CHEVRON: A vehicle position indicator primarily for use in turn-by-turn guidance. POINTER: A user location pointer, primarily for use in browsing or pedestrian modes. CUSTOM: A customizable model supplied by the developer.
Sets padding on the map. For the map, the padding means a safe area of the MapView which does not receive any input from the user. The safe area can be useful for some sections of the user interface displaying UI components like buttons, sliders etc.
Describes the latest available (last known) GeoLocation of the device. The value may be null when the LocationProvider has never updated the current location. For example, it may be be caused by invalid GPS Fix being deliver to the device.
Defines the range of marker fading in meters. In the range 0, markersFadingRange.first markers don't fade. In the range markersFadingRange.first, markersFadingRange.last marker transparency gradually changes from fully opaque to fully transparent.
Defines the range of marker shrinking in meters. In the range 0, markersFadingRange.first markers are normal size. In the range markersFadingRange.first, markersFadingRange.last marker size gradually changes from normal to minimum possible size.
Provides the Result that contains VisibleRegion or InvalidRegionException, where VisibleRegion is currently visible region. If the map is completely zoomed out, this property will return four GeoPoints, which are combination of min/max latitude and longitude ranges. InvalidRegionException is returned if some of four coordinates is invalid and it is not possible to obtain a coordinate.