Skip to main content

MapConfiguration

Properties​

bgcolor​

The background color.

initial_center​

The initial center of the map.

Value is of type MapLatitudeLongitude.

initial_rotation​

The initial rotation value.

initial_zoom​

The initial zoom level.

interaction_configuration​

The interaction configuration.

Value is of type MapInteractionConfiguration.

keep_alive​

A boolean value to keep the map alive.

max_zoom​

The maximum zoom level.

min_zoom​

The minimum zoom level.

Events​

on_event​

Fires when any map events occurs.

Event handler argument is of type MapEvent.

on_init​

Fires when the map is initialized.

on_long_press​

Fires when a long press event occurs.

Event handler argument is of type MapTapEvent.

on_position_change​

Fires when the map position changes.

Event handler argument is of type MapPositionChangeEvent.

on_pointer_down​

Fires when a pointer down event occurs.

Event handler argument is of type MapPointerEvent.

on_pointer_cancel​

Fires when a pointer cancel event occurs.

Event handler argument is of type MapPointerEvent.

on_pointer_up​

Fires when a pointer up event occurs.

Event handler argument is of type MapPointerEvent.

on_secondary_tap​

Fires when a secondary tap event occurs.

Event handler argument is of type MapTapEvent.

on_tap​

Fires when a tap event occurs.

Event handler argument is of type MapTapEvent.