alexandre-melard / leaflet.TileLayer.WMTS

Add WMTS layering for leaflet
Other
78 stars 84 forks source link

Compatibility with EPSG:29882 #6

Open danieltulp opened 8 years ago

danieltulp commented 8 years ago

I'm having trouble getting this to work with EPSG:29882. I keep getting a Colum is out of bounds error from the WMTS service, as it exceeds the max value. This is because the WMTS service uses the EPSG:29882 projection. Altering the top left corner to the one the WMTS provides doesn't help.

jnachtigall commented 4 years ago

Seems like this plugin assumes EPSG:3857 matrixes unles one passes it as (undocumented) option... see https://github.com/alexandre-melard/leaflet.TileLayer.WMTS/blob/d5d162d60cb204a0f9dbde2905d5d68c790faf16/leaflet-tilelayer-wmts-src.js#L33