GeoTIFF / georaster-layer-for-leaflet

Display GeoTIFFs and soon other types of raster on your Leaflet Map
https://geotiff.github.io/georaster-layer-for-leaflet-example/
Apache License 2.0
286 stars 57 forks source link

Raster WorldCopy #35

Closed drewjgray closed 4 years ago

drewjgray commented 4 years ago

Amazing library @DanielJDufour! Is there a way to copy the raster data over to all "copies" of the map? For example, if the user pans the map past -180 or 180 longitude (see screenshot). Thank you!

Screen Shot 2020-06-21 at 6 55 57 PM
DanielJDufour commented 4 years ago

Hi, @drewjgray . Thank you for the kind words. Currently, there doesn't exist this capability, but this is something that could be written. Would you be interested in submitting a pull request? Otherwise, I'm happy to work on it, but it may take some time. Thanks again for brining this to our attention. It's an issue other users probably have as well!

drewjgray commented 4 years ago

I wish I could! Unfortunately I have very little development experience with the inner workings of Leaflet. If you do get time, I think it would be a really useful feature. If there is something you could point me to on learning more about how I could implement this myself I would love to start learning about it. Thank you!

DanielJDufour commented 4 years ago

I just fixed this bug and published a new version of georaster-layer-for-leaflet (0.5.0) with this fix. Let me know if it works! Thanks.

drewjgray commented 4 years ago

Amazing, works perfectly @DanielJDufour . Thank you!