How can I show the popup of a wms layer?

11-20-2017 08:57 AM
New Contributor


I'm trying to visualize a wms service through wmsLayer. I get to visualize it correctly, but nevertheless I can not enable the popup. Can anybody help me? I leave the fragment of the code where I created the wmslayer and the wmslayerinfo.

Thank you!

var layer1 = new WMSLayerInfo({
name: 'Tipos de verano de la clasificación climática de Papadakis',
showPopup: true
var resourceInfo = {
extent: new Extent(0, 0, 0, 0, {
wkid: 4326
layerInfos: [layer1,layer2,layer3,layer4,layer5,layer6,layer7,layer8,layer9,layer10,layer11,layer12,layer13,layer14,layer15,layer16,layer17]
var wmsLayer = new WMSLayer('', {
resourceInfo: resourceInfo,
visibleLayers: ['Tipos de verano de la clasificación climática de Papadakis']

0 Kudos
0 Replies