Select to view content in your preferred language

WMS-layer gives spatial reference incompatible with basemap

400
0
02-23-2023 04:45 AM
JanHellenberg
Emerging Contributor

I have been using a WMS-layer as overlay on a 3857 basemap without any problems. Recently, I got information that the server will change to a new adress so I changed the URL. Otherwise than that, everything is the same, same xml-content, same available projections and so on. Compared in QGIS, but everything is exactly the same.

But with the new server I get "Incompatible with basemap" warning when adding it to my Grouplayer and the layer is not shown. What could cause this warning? It seems to be wrong, because the 3857 projection is actually available exactly as before.

I tried adding the following to force 3857, but it still gives the same error:

customParameters: {
crs: 'EPSG:3857',
},
 

Version is Arcgis JS 4.25

0 Kudos
0 Replies