Check out the WMS example: http://www.openlayers.org/dev/examples/wms.html
This is for lat/lon (EPSG:4326), if you need another projection then check out the following example as well: http://www.openlayers.org/dev/examples/spherical-mercator.html Best regards, Bart > Dear list. > > I'm a beginner at openlayers and deegree. > I made WMS service in deegree. so, I can see an WMS layer through > explorer. > For example, > http://localhost:8080/services?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=603&HEIGHT=476&LAYERS=Vegetation,Lake,Roads > &TRANSPARENT=TRUE&FORMAT=image/png&BBOX=372233.9342431239,4460438,489069,4552689&SRS=EPSG:26912&STYLES=default,default,default > > but, what I want to do is that how to add an WMS layer in deegree to the > openlayers window? > how to deal layers in deegree in order to view them within openlayers > window? > > Thanks in advance. > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
