]> mj.ucw.cz Git - leo.git/blobdiff - map.cf
Support for fixed objects
[leo.git] / map.cf
diff --git a/map.cf b/map.cf
index c55a3e745f8f9df443d751584163314eee821034..92a2435409b2412594140eb2a2845ac1f7599ccf 100644 (file)
--- a/map.cf
+++ b/map.cf
@@ -6,12 +6,18 @@ Map {
 
                # File format:
                #       osmxml          OpenStreetMap XML
+               #       fixed           Fixed objects (no File used, see FixedObjects section below)
                Format osmxml
 
                # MapCSS stylesheet to apply (multiple style-sheets are allowed)
                StyleSheet poskole.css
        }
 
+       Source {
+               Format fixed
+               StyleSheet poskole.css
+       }
+
        # Projection of our map
        Projection "+proj=utm +zone=33 +ellps=WGS84"
 
@@ -42,6 +48,16 @@ Map {
        SVGOutput output.svg
 }
 
+FixedObjects {
+       # Fixed objects may be placed at specific positions on the paper
+       # with specific tags. Remember to enable the "fixed" data source.
+       Object {
+               X 100
+               Y 100
+               Tag legend logo
+       }
+}
+
 Debug {
        # Dump map data exactly as parsed
        DumpSource 0