X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=sym-line.c;h=4a23c8d7643750393c9a9b25fd5a497b340fa36d;hb=2dda46b6d1cebc5205f7f98b4db4dcae40c11e55;hp=4944fcdd987de884971fc0ed2e5cfd8def596851;hpb=44b0ec8816c3cf1a5858fec0c51e075cedefc3eb;p=leo.git diff --git a/sym-line.c b/sym-line.c index 4944fcd..4a23c8d 100644 --- a/sym-line.c +++ b/sym-line.c @@ -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)); } }