]> mj.ucw.cz Git - leo.git/blobdiff - sym-line.c
Mix of changes O:)
[leo.git] / sym-line.c
index 4944fcdd987de884971fc0ed2e5cfd8def596851..4a23c8d7643750393c9a9b25fd5a497b340fa36d 100644 (file)
@@ -14,6 +14,7 @@
 #include "leo.h"
 #include "osm.h"
 #include "sym.h"
+#include "labeller.h"
 
 static void sym_line_attrs(struct sym_line *l, struct svg *svg)
 {
@@ -180,7 +181,9 @@ static void sym_line_gen(struct osm_object *o, struct style_info *si, struct svg
       else
        osm_obj_warn(o, "Invalid dash pattern");
 
-      sym_plan(&sl->s, sym_zindex(o, si, casing ? 2 : 3));
+      if (o->type == OSM_TYPE_WAY)
+      labeller_add_line(&sl->s, sym_zindex(o, si, casing ? 2 : 3));
+      //sym_plan(&sl->s, sym_zindex(o, si, casing ? 2 : 3));
     }
 }