Validate the mapnik scale on a zoom change.
authorTom Hughes <tom@compton.nu>
Sat, 19 Apr 2008 10:45:28 +0000 (10:45 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 19 Apr 2008 10:45:28 +0000 (10:45 +0000)
app/views/export/start.rjs

index 5e4a2b91cb949e04d2798cd02b9658a27439598e..1a157afcac30ab71149ebf7fb05b368a73f7d4de 100644 (file)
@@ -140,7 +140,7 @@ page << <<EOJ
 
     $("mapnik_max_scale").innerHTML = roundScale(max_scale);
 
-    mapnikSizeChanged();
+    mapnikScaleChanged();
 
     for (var o = 0; o < $("osmarender_zoom").options.length; o++) {
       var option = $("osmarender_zoom").options[o];