Expand description
Service layer for layers.
Functionsยง
- assert_
all_ ๐layers_ on_ map - Helper that returns an error in case
layer_ids
isnโt exactly the set of all non-deleted layers on the map. - assert_
layer_ ๐on_ map - Helper that returns an error if the given layer is not on the map.
- create
- Create a new layer in the database.
- delete_
by_ id - Delete the layer in the database.
- find
- Search layers from the database.
- find_
by_ id - Find a layer by id in the database.
- update
- Update layers. Available updates are: