Replace PanZoom control with Zoom control for small maps
[rails.git] / public / export / embed.html
index 402f0410b0728a0f3538010633fd8d6e29c252c4..a0398ab94bc56db9dda927ed286677ed3f386629 100644 (file)
@@ -94,7 +94,7 @@
             if (size.h > 320) {
                 map.addControl(new OpenLayers.Control.PanZoomBar());
             } else {
-                map.addControl(new OpenLayers.Control.PanZoom());
+                map.addControl(new OpenLayers.Control.Zoom());
             }
         }
     // -->