Skip to content

vojvod/CMV_addWMSLayer_Widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AddWMSLayer Widget

A widget for CMV (http://cmv.io/). It adds wms layers from combobox or from textbox.

alt tag

Widget Configuration

Add the widget configuration object to the widgets object in viewer.js.

widgets: {
    ...
    wmslayer: {
  	    include: true,
  		id: 'wmslayer',
  		type: 'titlePane',
  		canFloat: true,
  		position: 17,
  		path: 'gis/dijit/WMSLayer',
  		placeAt: 'left',
  		title: 'Add WMS Layer',
  		options: {
  		    map: true
  		  }
  	},
  	wmslayer2: {
        include: true,
      	id: 'wmslayer',
      	type: 'titlePane',
      	canFloat: true,
      	position: 18,
      	path: 'gis/dijit/WMSLayer2',
      	placeAt: 'left',
      	title: 'Add WMS Layer',
      	options: {
      	    map: true
      	}
    },
    ...
}

Copy WMSLayer, WMSLayer2, WMSLayer.js and WMSLayer2.js to folder gis/dijit/ at your CMV installation.

Configure your proxy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published