Open khpeek opened 5 years ago
Hello @khpeek
This library is unsupported and unmaintained more than a year. Please look at our re-implementation @react-google-maps/api library. We have working docs and examples, spectrum community and several maintainers. We have get rid of all extra dependencies, and had rewritten the codebase to typescript. We have easier API and supporting new React versions.
https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api
https://www.npmjs.com/package/@react-google-maps/api https://react-google-maps-api-docs.netlify.com/ https://react-google-maps-api-gatsby-demo.netlify.com/ https://spectrum.chat/react-google-maps?tab=posts
In this branch, https://github.com/khpeek/beomaps/tree/searchbox, I've essentially copied the example from https://tomchentw.github.io/react-google-maps/#searchbox above another map which has just a
GroundOverlay
.What I notice, as shown in this GIF (https://imgur.com/gallery/HoZC3jX), is that in the map with the search bar, I can only pan so far before the map 'halts'. What is causing this 'performance bug'?
Here is the
MapWithASearchBox
component: