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
303 stars 58 forks source link

Use georaster in react-leaflet? #102

Open staffordsmith83 opened 2 years ago

staffordsmith83 commented 2 years ago

Is your feature request related to a problem? Please describe. I use the react-leaflet library and Id love to be able to add a Georaster layer as a react component.

Describe the solution you'd like I would like to have a custom component like <TileLayer /> which will render a Georaster Layer. Perhaps something called <GeorasterLayer />

Describe alternatives you've considered Build a custom component using the React Leaflet Core https://react-leaflet.js.org/docs/core-introduction/

Additional context Has anyone already implemented this?

DanielJDufour commented 2 years ago

Hi, @staffordsmith83 , thanks for posting this issue. Yes, people have definitely used this with react-leaflet although I'm not aware of anyone publishing a reusable library that can be reused with other projects. I know @CarlQLange was working on one back in the day, but I'm not sure on how far it go. It would be awesome if you wanted to collaborate with others and create a new open-source project that does this :-)

I'm also happy to create the repo under the GeoTIFF org if that makes sense.

Here's a couple examples I found after a quick search: