I'm using a WMSLayer Class (arcgis js api 3.13) to connect to a WMS version 1.1.1. service.
My settings are as follows:
var wmsLayer = new WMSLayer("<http://host>/WMS?Request=GetCapabilities",
{
resourceInfo: myResourceInfo,
version: '1.1.1',
visibleLayers: ['layer1', 'layer2']
});
map.addLayers([wmsLayer]);
Why does my browser send this request?
http://<host>/WMS?SERVICE=WMS&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=TRUE&STYLES=&VERSION=1.3.0&LAYERS=Bayern&WIDTH=1045&HEIGHT=463&CRS=EPSG:4326&BBOX=18.06,-58.713790496760254,83.96,90.02379049676026
How do I have to set VERSION parameter in WMSLayer?
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.