Module map

Source
Expand description

Service layer for maps.

Constantsยง

LAYER_TYPES ๐Ÿ”’
Defines which layers should be created when a new map is created.

Functionsยง

create
Create a new map in the database.
delete_by_id
Soft-deletes a map from the database. Checks if the map is owned by the requesting user.
find
Search maps from the database.
find_by_id
Find a map by id in the database.
is_valid_map_geometry ๐Ÿ”’
Checks if a Polygon can be used as a maps geometry attribute.
update
Update a map in the database. Checks if the map is owned by the requesting user.
update_geometry
Update a maps geometry in the database. Checks if the map is owned by the requesting user.