class Builder
Builder used to create an instance of GesturesConfiguration. Once constructed, the user cannot change the field values.
Builder()
Builder used to create an instance of GesturesConfiguration. Once constructed, the user cannot change the field values. |
fun build(): GesturesConfiguration
Constructs a new GesturesConfiguration. |
|
fun enableEventsIntercepting(enableEventsIntercepting: Boolean): GesturesConfiguration.Builder
Specifies whether map events should be always propagated. By default, only the top-rendered feature event is triggered. For instance, when a user clicks on the marker, the map click event is not propagated. |
|
fun forceMinMaxZoom(forceMinMaxZoom: Boolean): GesturesConfiguration.Builder
Specifies if the max and min zoom levels are used without any adjustments and restrictions. |
|
fun maxBounds(maxBounds: BoundingBox): GesturesConfiguration.Builder
Specifies the maximum bounds which can be set for the map view port. |
|
fun maxZoom(maxZoom: Double): GesturesConfiguration.Builder
Specifies the maximum zoom level which can be set for the map view port. |
|
fun minZoom(minZoom: Double): GesturesConfiguration.Builder
Specifies the minimal zoom level which can be set for the map view port. |
|
fun panningEnabled(panningEnabled: Boolean): GesturesConfiguration.Builder
Specifies if the panning gestures are enabled. |
|
fun rotationEnabled(rotationEnabled: Boolean): GesturesConfiguration.Builder
Specifies if the rotation gestures are enabled. |
|
fun tiltEnabled(tiltEnabled: Boolean): GesturesConfiguration.Builder
Specifies if the tilt gestures are enabled. |
|
fun zoomEnabled(zoomEnabled: Boolean): GesturesConfiguration.Builder
Specifies if the zooming gestures are enabled. |