I am trying to consume this site's WMTS service as described: https://rangelands.app/support/19-viewing-rap-data-in-your-gis
I can load it into ArcGIS Pro using their directions and URL, but I cannot get it to load in ArcGIS Javascript SDK, as it always seem to try to make a GetCapabilities request, which doesn't seem to exist on their server. In Pro I can see it's using the exact URL I gave it (the .xml file).
Is there a way to not have the 4.0 SDK (I'm on 4.34) not make this GetCapabilities request? I am not sure what Pro is doing differently.
For reference I am doing this:
Solved! Go to Solution.
Hi,
The server you are trying doesn't have CORS headers configured for JavaScript (and the Maps SDK) to correctly fetch the capabilities file.
Thanks. I will contact the developers and see if I can get them to set it up.