Posts Tagged: OpenLayers

OpenLayers – An introduction

This will be an intro to OpenLayers. At the moment it’s a placeholder. 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] }); }