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]
	});
}

 

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>