]> mj.ucw.cz Git - leo.git/blobdiff - map.cf
Parametrized drawing of map scale
[leo.git] / map.cf
diff --git a/map.cf b/map.cf
index 3998e02ef5325c25e86b6af6229f03837c80808a..1ea08450a1570adb2a062b9183e0cea4bfdcd564 100644 (file)
--- a/map.cf
+++ b/map.cf
@@ -12,11 +12,15 @@ Map {
 
                # MapCSS stylesheet to apply (multiple style-sheets are allowed)
                StyleSheet poskole.css
+
+               # Enable inline style properties (tags "style:<property>" or "style:<property>::<layer>")
+               InlineStyles 1
        }
 
        Source {
                Format fixed
                StyleSheet poskole.css
+               InlineStyles 1
        }
 
        # Projection of our map
@@ -53,9 +57,18 @@ FixedObjects {
        # Fixed objects may be placed at specific positions on the paper
        # with specific tags. Remember to enable the "fixed" data source.
        Object {
+               # Image with a logo
                X 374
                Y 25
-               Tag legend logo
+               Tag style:icon-image '"icons/logo.svg"'
+               Tag style:icon-width 36
+               Tag style:z-index 99
+       }
+       Object {
+               # Map scale
+               X 325
+               Y 50
+               Tag leo:special scale
        }
 }