The default background color of the map is white. To achieve a transparent map background, you can set it to "rgba(0, 0, 0, 0)" or simply use the keyword "transparent".
Behavior options of the map. Allow user to "drag" / "rotate" / "pitch" or "zoom" the map by mouse/touch interaction.
"drag" / "rotate" and "pitch" are booleans indicating if user interaction is possible or not. Possible values for "zoom" property are
enable or disable dragging the map
enable or disable pitching the map
enable or disable rotating the map
configure map zoom behavior:
Center coordinate of the map.
enable or disable debug tile grid
add layers to display.
the maximum zoom level the map can be zoomed in
The maximum angle in degrees the map can be pitched
the minimum zoom level the map can be zoomed out
The minimum threshold in pixels to enable the pan map gesture.
The minimum threshold in pixels to enable the pitch map gesture.
The minimum threshold in pixels to enable the rotate map gesture.
initial pitch (tilt) of the map in degree.
initial rotation of the map in degree.
Configure visibility and position of ui components
duration of a zoom level change animation in milliseconds.
zoomlevel of the map.
Generated using TypeDoc
Options to configure the map display.