slutske22 / react-esri-leaflet

react components for esri-leaflet
https://codesandbox.io/s/github/slutske22/react-esri-leaflet/tree/master/examples/ts
MIT License
37 stars 5 forks source link

Example of WMTS ? #21

Closed btranggg closed 3 months ago

btranggg commented 3 months ago

Sorry if this question makes no sense. I was wondering if there is an example of this package rendering WMTS data? I tried searching around but couldn't find any concrete examples.

slutske22 commented 3 months ago

As far as I can see, there is nothing within esri-leaflet specific to WMS or WMTS layers. Since this library is just a react wrapper for esri-leaflet, there's nothing here for that either.

react-leaflet already supports WMS Tile Layers, as does native leaflet. I recommend you try using the WMSTileLayer from react-leaflet, with your esri WMTS endpoint - should work just fine.

Closing as this is not an issue with this library.