]> mj.ucw.cz Git - leo.git/commitdiff
Poskole: Move map scale
authorMartin Mares <mj@ucw.cz>
Mon, 1 Jun 2015 11:42:03 +0000 (13:42 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 1 Jun 2015 11:42:03 +0000 (13:42 +0200)
leo.c

diff --git a/leo.c b/leo.c
index b30996581f424d104a7775d91494fd0430810209..a1b66a911c971c813fad4708687a20a3d6cf2694 100644 (file)
--- a/leo.c
+++ b/leo.c
@@ -51,7 +51,7 @@ static void draw_scale(struct svg *svg)
   double dist = 1000;
   double width = dist * map_scale;
   double x = page_width - 10 - width;
-  double y = 50;
+  double y = page_height - 14;
 
   svg_push_element(svg, "g");
   svg_set_attr(svg, "id", "scale");