I'm working on a project which uses react-google-maps
(https://github.com/tomchentw/react-google-maps) library.
It works well, but we stumbled upon a problem with overlapping markers. Ideal solution to our case would be to use this plugin: https://github.com/jawj/OverlappingMarkerSpiderfier.
Is there any way to use it with react-google-maps
?
How to
OverlappingMarkerSpiderfier
plugin integrate intoreact-google-maps
1)install
npm-overlapping-marker-spiderfier
package:npm i npm-overlapping-marker-spiderfier
2) once installed the following component demonstrates how to create the instance of OverlappingMarkerSpiderfier class and pass markers:
Usage
Here is a demo for your reference