Add Geo Server wms layer

8/19/2014 2:17:27 AM
Total Posts 28

Add Geo Server wms layer

Is it possible add geo server wms layer? if possible then how to add geo server wms layer ?

8/19/2014 4:11:02 AM
Total Posts 329

Re: Add Geo Server wms layer

Adding WMS services is described in the 'Web Map Services' topic in the documentation.
You have to know the URL to the WMS, and the list of layers the WMS supports.

Dim wms As WmsLayer = New WmsLayer("", New AspMap.Rectangle(-122.47, 37.87, -122.18, 37.73))

wms.AddLayer("UrbanArea")  ' internal WMS layer


map.ImageFormat = ImageFormat.Png
map.ImageOpacity = 0

For information about a particular WMS, please contact the provider of the WMS.