Use WMS layers as basemaps for the Configurable Map Viewer (CMV). Works in place of the core CMV basemap widget.
- Supports multiple WMS Servers.
- Works in both 'agol' and 'custom' modes.
- WMS layer loading icon
- the
mapStartBasemap
must be a custom supported or AGOL basemap, not a wms layer. - the wms layer spatial reference must match the
mapStartBasemap
basemap See Here for more info on supported starting basemaps.
// sample configuration
wmsBasemaps: {
include: true,
id: 'wmsBasemaps',
type: 'domNode',
path: 'gis/plugins/WMSBasemaps',
srcNodeRef: 'basemapsDijit',
options: 'config/wmsBasemaps'
},
Check it out in action here.