react-leaflet-google-layer icon indicating copy to clipboard operation
react-leaflet-google-layer copied to clipboard

Is it possible to make places of interest clickable?

Open odysseas12 opened this issue 3 years ago • 1 comments

Is there an option I missed or is this just not possible?

Thanks.

odysseas12 avatar Jun 07 '22 16:06 odysseas12

@odysseas12 Hi,

You are correct - there is no option to add places in Leaflet.GridLayer.GoogleMutant (which this library uses to load google maps into leaflet). You can open an issue for them here: https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutant

Or use the underlying map that is initialized during the initialization process - it should look like this: https://codesandbox.io/s/basic-usage-with-react-leaflet-v3-forked-hks9tw

aviklai avatar Jun 07 '22 20:06 aviklai