backend::service

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 a new map in the database.
  • Soft-deletes a map from the database. Checks if the map is owned by the requesting user.
  • Search maps from the database.
  • Find a map by id in the database.
  • Checks if a Polygon can be used as a maps geometry attribute.
  • Update a map in the database. Checks if the map is owned by the requesting user.
  • Update a maps geometry in the database. Checks if the map is owned by the requesting user.