This sample demonstrates how to discover available styles and apply them to WMS sublayers.
Use the buttons to switch between styles.
This sample examines the WMS layer's sublayers and checks the sublayer info for a list of available styles. The CurrentStyle
is then set on the WMS sublayer.
WmsSublayerInfo
WmsLayer.Sublayers
WmsSublayerInfo.Styles
WmsSublayer.CurrentStyle
This sample uses a public service managed by the State of Minnesota and provides composite imagery for the state and the surrounding areas.
WMS, styles, imagery