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


1 Answer 1


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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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