UiSettings

Settings for the map user interface controls and gestures.

Configure which user interactions are enabled on the map.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Duration after which info windows automatically dismiss. Set to Duration.ZERO to disable auto-dismiss (default). Non-positive values are normalized to Duration.ZERO (disabled).

Link copied to clipboard

Whether the compass is enabled. Compass requires rotation support which is not implemented. Always returns false.

Link copied to clipboard

Whether the edge effect (visual glow at map boundaries) is enabled. When enabled, a visual EdgeEffect glow appears when:

Link copied to clipboard

Whether the indoor level picker is enabled. Indoor mapping is not supported by standard OSM tiles. Always returns false.

Link copied to clipboard

Whether the map toolbar is enabled. Map toolbar (Google Maps feature) is not implemented. Always returns false.

Link copied to clipboard

Whether the my-location button is enabled. My-location button is not implemented in OpenMapView. Always returns false.

Link copied to clipboard

Whether rotate gestures are enabled. Currently not implemented, always returns false.

Link copied to clipboard

Whether scroll gestures (panning) are enabled. Default is true.

Whether scroll gestures are enabled during rotate or zoom gestures. When false, panning is disabled while pinch-zooming. Default is true.

Link copied to clipboard

Whether tilt gestures are enabled. Currently not implemented, always returns false.

Link copied to clipboard

Whether zoom controls (+/- buttons) are enabled. Default is false to avoid UI clutter.

Link copied to clipboard

Whether zoom gestures (pinch-to-zoom) are enabled. Default is true.

Functions

Link copied to clipboard

Enables or disables all gestures.