[OpenLayers-Users] WMS - GeoServer

Piero Campa piero.campa at gmail.com
Fri Mar 12 09:54:18 EST 2010


After hours of pure pleasure I found a correct syntax for the Geotiff to be
visualized:

		var pmmap = new OpenLayers.Layer.WMS( 'MEEO PM10',
			'http://localhost:8080/geoserver/wms', 
			{layers: 'myWorkspace:myGeoTiff.geo',
			transparent: 'true'},
			{units: 'meters', 
			projection: 'EPSG:32633',
			'maxExtent': new OpenLayers.Bounds(<minX>,<minY>,<maxX>,<maxY>),
			'maxResolution': 'auto' },
		);

A more complete documentation of the OpenLayers API would make life so much
easier I think.. I'm just wondering wether I have the right documentation
links or not. :-(

Hope this could be helpful. !
-- 
View this message in context: http://n2.nabble.com/WMS-GeoServer-tp1822608p4722467.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list