leaflet icon indicating copy to clipboard operation
leaflet copied to clipboard

Proj4Leaflet-TMS.R example is broken; broken TMS in Leaflet is possibly the culprit!

Open olyerickson opened this issue 1 year ago • 2 comments

The Proj4Leaflet-TMS.R example in this github at...

inst/examples/proj4Leaflet-TMS.R

...does not work; in particular, it does not successfully retrieve tiles from the TMS provider when TMS=TRUE.

Base on my testing this week with other known TMS providers, I believe leaflet's handling of TMS=TRUE and the alternative, {-y}, is broken somehow.

olyerickson avatar Dec 13 '23 18:12 olyerickson

UPDATE: One of the TMS = TRUE examples in the TMS example file does work, BUT I am still not convinced Leaflet's TMS implementation is correct (at least for R); setting TMS = TRUE for the Mars M20 endpoint does not work as expect (but does in native JavaScript)

olyerickson avatar Dec 19 '23 15:12 olyerickson

This apparently is a known and unsolved issue; see #788

olyerickson avatar Dec 21 '23 14:12 olyerickson