This will be an intro to OpenLayers. At the moment it’s a placeholder.
1 2 3 4 5 6 7 8 9 |
function init(width, height) { mapWidth = width, mapHeight = height; map = new OpenLayers.Map({ div:'map', numZoomLevels: 5, resolutions: [4,3,2,1,.5], controls: [new OpenLayers.Control.Navigation, new OpenLayers.Control.PanZoomBar(), new OpenLayers.Control.LayerSwitcher({'ascending':false}), new OpenLayers.Control.MousePosition] }); } |