Skip to content

sjayashree01/CMV_addWMSLayer_Widget

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 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

Languages

  • PHP 71.5%
  • JavaScript 25.0%
  • HTML 2.4%
  • Other 1.1%