Module layer

Source
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: