How do you add a wmts layer from the USGS basemaps found here as a mapbox-gl-js layer?:



Here's what I used:


I found this answer buried in the code here: https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/master/AzureMapsCodeSamples/Tile%20Layers/WMTS%20Tile%20Layer.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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