summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chimere/static/chimere/js/jquery.chimere.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/chimere/static/chimere/js/jquery.chimere.js b/chimere/static/chimere/js/jquery.chimere.js
index e7cb384..4bf9b7b 100644
--- a/chimere/static/chimere/js/jquery.chimere.js
+++ b/chimere/static/chimere/js/jquery.chimere.js
@@ -82,12 +82,14 @@ OpenLayers.Layer.MapQuestOSM = OpenLayers.Class(OpenLayers.Layer.XYZ, {
// if leave to false every click on the map hide the pop-up
explicit_popup_hide: false,
controls:[new OpenLayers.Control.Navigation(),
- new OpenLayers.Control.SimplePanZoom(),
+ new OpenLayers.Control.PanPanel(),
+ new OpenLayers.Control.ZoomPanel(),
new OpenLayers.Control.ScaleLine()],
popupClass: OpenLayers.Popup.FramedCloud,
popupContentFull: false, // if true the detail is inside the popup
category_accordion: true, // category opening behave like an accordion
maxResolution: 156543.0399,
+ numZoomLevels:16,
units: 'm',
projection: new OpenLayers.Projection('EPSG:4326'),
theme: null,