]> mj.ucw.cz Git - leo.git/blobdiff - sym-text.c
Mix of changes O:)
[leo.git] / sym-text.c
index 66e834a05c42297f112792ae86708fc3d1ce538d..f2f901e978270a7e364569750020842a0f483891 100644 (file)
@@ -442,7 +442,7 @@ static void sym_text_node(struct osm_object *o, struct style_info *si, osm_val_t
       return;
     }
 
-  sym_plan(&st->s, sym_zindex(o, si, 5));
+  //sym_plan(&st->s, sym_zindex(o, si, 5));
 }
 
 static void sym_text_center(struct osm_object *o, struct style_info *si, osm_val_t text, double x, double y)
@@ -459,11 +459,12 @@ static void sym_text_center(struct osm_object *o, struct style_info *si, osm_val
   text_fix_placement(st);
   if (o->type == OSM_TYPE_WAY && !osm_way_cyclic_p((struct osm_way *) o))
   {
+    //sym_plan(&st->s, sym_zindex(o, si, 4.9));
     labeller_add_linelabel(&st->s, o, sym_zindex(o, si, 4.9));
   }
   else
   {
-//    sym_plan(&st->s, sym_zindex(o, si, 4.9));
+    //sym_plan(&st->s, sym_zindex(o, si, 4.9));
     labeller_add_arealabel(&st->s, o, sym_zindex(o, si, 4.9));
   }
 }