Remove MouseDefaults and MouseToolbar.

This commit is contained in:
tschaub
2011-11-08 18:32:55 -07:00
parent f90d34fad9
commit b7c826e796
9 changed files with 760 additions and 794 deletions

View File

@@ -23,7 +23,6 @@
/* Map with raster coordinates (pixels) from Zoomify image */
var options = {
controls: [],
maxExtent: new OpenLayers.Bounds(0, 0, zoomify_width, zoomify_height),
maxResolution: Math.pow(2, zoomify.numberOfTiers-1 ),
numZoomLevels: zoomify.numberOfTiers,
@@ -33,11 +32,6 @@
map = new OpenLayers.Map("map", options);
map.addLayer(zoomify);
map.addControl(new OpenLayers.Control.MousePosition());
map.addControl(new OpenLayers.Control.PanZoomBar());
map.addControl(new OpenLayers.Control.MouseDefaults());
map.addControl(new OpenLayers.Control.KeyboardDefaults());
map.setBaseLayer(zoomify);
map.zoomToMaxExtent();
};