0

I've added an wms operational layer, I wonder if it's possible to add identify support, any samples will be helpful

{
            type: 'wms',
            url: 'http://...../geoserver/service_name/wms?service=WMS&version=1.1.0&request=GetMap',
            title: 'WMS Name',
            spatialReference: {
                wkid: 4326
            },
            options: {
                id: 'title',
                opacity: 1.0,
                visible: true,
                format: "png",
                spatialReference: {
                    wkid: 4326
                },
                visibleLayers: ['NAMESPACE:LAYER_NAME']
            },
            layerControlLayerInfos: {
                layerGroup: 'layer group name'
            }
        }
1

This currently is not possible using the Identify widget that comes with CMV. A new custom widget or modifications to the Identify widget would be required.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.