Open CCheCastaldo opened 2 years ago
try {plainview} 🙏
plainview doesn't do overlays... This is still an unsolved issue anywhere. I am hoping to get this done with georaster-for-leaflet.
🙏
plainview doesn't do overlays... This is still an unsolved issue anywhere. I am hoping to get this done with georaster-for-leaflet.
@tim-salabim many thanks for potentially addressing this in georaster-for-leaflet. I appreciate it. This issue has us dead in our tracks these past few months.
I am trying to use R leaflet to display a stars RGB with a second layer that is a vector-based (spatial polygon sf). It is important that both spatial layers remain in polar stereographic (EPSG:3031) instead of having them reprojected to the standard EPSG:3857 web mercator projection used by leaflet. Also, I don't need to have any background tiles. When I do this I either get output that does not show the stars object if I specify the crs as 3031 but displays the polygon correctly in 3031 or, if I disable the custom crs, displays the stars object (which weirdly does not look reprojected to 3857) and the polygon (which is clearly reprojected to 3857). Again, what I am trying to do is have both layers be in 3031. Is this possible?
Here is a reproducible example:
The leaflet generated here does not display the stars RGB at all but does display the polygon in 3031.
The leaflet generated here displays both the stars RGB and polygon but the polygon is, of course, transformed to 3857 while the stars RGB oddly looks like it is still in 3031.
Thanks for any help. I appreciate it.