Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_void
ProtectedgetProtectedgetGets the coordinate precision. The coordinate precision is the number of decimal places in geometry coordinates stored in the store.
The coordinate precision.
ProtectedgetReturns the longitude and latitude coordinates from a given PointerEvent on the map.
The PointerEvent or MouseEvent containing the screen coordinates of the pointer.
An object with 'lng' and 'lat' properties representing the longitude and latitude, or null if the conversion is not possible.
ProtectedgetRetrieves the HTML element of the MapLibre element that handles interaction events
The HTMLElement representing the map container.
Converts longitude and latitude coordinates to pixel coordinates in the map container.
The longitude coordinate to project.
The latitude coordinate to project.
An object with 'x' and 'y' properties representing the pixel coordinates within the map container.
Registers the provided callbacks for the current drawing mode and attaches the necessary event listeners.
An object containing callback functions for handling various drawing events in the current mode.
Renders GeoJSON features on the map using the provided styling configuration.
An object containing arrays of created, updated, and unchanged features to render.
An object mapping draw modes to feature styling functions
Sets the cursor style for the map container.
The CSS cursor style to apply, or 'unset' to remove any previously applied cursor style.
Enables or disables the double-click to zoom functionality on the map.
Set to true to enable double-click to zoom, or false to disable it.
Enables or disables the draggable functionality of the map.
Set to true to enable map dragging, or false to disable it.
Converts pixel coordinates in the map container to longitude and latitude coordinates.
The x-coordinate in the map container to unproject.
The y-coordinate in the map container to unproject.
An object with 'lng' and 'lat' properties representing the longitude and latitude coordinates.
Unregisters the event listeners for the current drawing mode. This is typically called when switching between drawing modes or stopping the drawing process.
Clears the map and store of all rendered data layers