[OpenLayers-Users] Problems with WMS tiles

Rudolf Merkel rudolf_merkel at onlinehome.de
Fri Dec 16 12:13:10 EST 2011


Hi,

I was trying to use the bavarian geodaten wms server. But something is 
going wrong. OSM tiles instead load nicely. I pasted a (almost) minimal 
example here:
http://pastebin.com/bRAhz7eN

I think the most crucial line is: var wms = new 
OpenLayers.Layer.WMS("Bayern Luftbilder", 
"http://geodaten.bayern.de/ogc/ogc_dop200_oa.cgi?",{layers: 
"adv_dop200c", format: "image/jpeg"});

A documentation of the wms server can be found here: 
https://geoportal.bayern.de/getcapabilities/CapabilitiesViewer
And I'm interested in the Munich area.

Thank you for your help
Rudolf


More information about the Users mailing list