Dynamic layers

From Maria GDK Wiki
Jump to navigation Jump to search

Dynamic layers are a special basemap layer type where instead of referencing a map signature, you add one or more tags. Any overlay (and its collection of layers) with the same tags will be displayed via the dynamic layer. The inner workings of dynamic layers and overlays is explained in the Maria GDK core documentation

In the overlay

To tag an overlay, click the Metadata pane. Type a in a tag in the Tags field, and press Enter to complete it. You can add multiple tags, and you can remove them by clicking the "x" on each tag. The Priority field is a number which is used to decide the drawing order if there are multiple overlays with the same tag which also overlap. The overlay with the lowest number will be drawn on top. Finally, Save to disk.

Added the tag RASTER to an overlay.

In the basemap

In a basemap, use Add Layer→ Dynamic layer. You can then add tags to the dynamic layer in the same way as in the overlay. The dynamic layer can be re-named and scale limited in the same way as other layer types. After clicking Save to disk, this basemap will display all overlays with the corresponding tag. If the overlays have multiple layers of their own, the internal drawing order and scale limits will be respected.

Added a new dynamic layer to display all overlays that are tagged RASTER.