Changes between Version 5 and Version 6 of ZooWebSite/Demo/GdalProfileJs
- Timestamp:
- Dec 1, 2010, 11:42:15 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooWebSite/Demo/GdalProfileJs
v5 v6 13 13 function initMap(){ 14 14 15 map = new OpenLayers.Map('map', { 16 controls: [ 17 new OpenLayers.Control.PanZoom(), 18 new OpenLayers.Control.Permalink(), 19 new OpenLayers.Control.Navigation() 20 ] 21 }); 15 map = new OpenLayers.Map('map', { controls:[ 16 new OpenLayers.Control.Navigation()], 17 }); 18 22 19 23 20 layer = new OpenLayers.Layer.WMS( … … 91 88 map.zoomToExtent(new OpenLayers.Bounds( -2.0041701, 41.9958302, 8.0041698, 52.0041701)); 92 89 93 90 mapControls = { 94 91 pan: new OpenLayers.Control.Pan({title:"Pan"}), 95 92 zoomin: new OpenLayers.Control.ZoomBox({title:"Zoom in box", out: false}),