Reset Bounds when surrounding div resizes#219
Reset Bounds when surrounding div resizes#219istarkov merged 9 commits intogoogle-map-react:masterfrom
Conversation
|
Wow! Super! |
|
Please add |
|
Thanks @istarkov . |
| onChildMouseEnter={onChildMouseEnter} | ||
| onChildMouseLeave={onChildMouseLeave} | ||
| resetBoundsOnResize={true} | ||
| apiKey={"AIzaSyC-BebC7ChnHPzxQm7DAHYFMCqR5H3Jlps"} |
There was a problem hiding this comment.
Are you really want to share your API key with all world?
There was a problem hiding this comment.
Its a dummy project with basic settings, so no harms in sharing it.
src/utils/shallowEqual.js
Outdated
| @@ -0,0 +1,51 @@ | |||
| /* eslint-disable */ | |||
There was a problem hiding this comment.
Looks like the last step is to delete this file?
|
I found how to trigger internal gmap resize Please replace your _mapDomResizeCallback with this looks like it works perfectly for me |
|
Hi @istarkov I did the suggested changes in the last commit :) |
|
Thank you!!! |
|
|
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
#147