Protected
_Protected
Readonly
_Readonly
emitterReadonly
keysReadonly
mapReadonly
mapReadonly
runtimeStatic
getStatic
keysProtected
_Protected
_Optional
data: anyProtected
_Manual way to create a map (If MapOptions.create is false
).
Destroys WebMap, MapAdapter, clears all layers and turn off all event listeners
Sets a map view that contains the given geographical bounds.
Array of coordinates, measured in degrees, in [west, south, east, north] order.
Optional
options: FitOptionsReturns the map's geographical centerpoint.
lngLat Array of two numbers representing longitude and latitude of the center of the map view.
Returns the HTML element that contains the map.
The map's container
Checking the status of any asynchronous operation
The name of the event whose status is checked
Returns the map's current zoom level.
The map's current zoom level (0-24).
Optional
events: LocationEventshelper method to wait for events to load. By default, card creation is tracked
The name of the event whose status is checked
Optional
cb: (mapAdapter: MapAdapter) => voidSet the center of the current view.
Array of two numbers representing longitude and latitude of the center of the map view.
Set the cursor icon to be displayed when hover icon on the map container.
Available cursor name from https://developer.mozilla.org/ru/docs/Web/CSS/cursor
Sets the view of the map geographical center and zoom
Optional
zoom: numberThe zoom level to set (0-24).
Zoom to a specific zoom level.
The zoom level to set (0-24).
From runtime params