New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map Pins are not positioned correctly after zoom or pan #1204
Comments
I have the same issue |
@ruthoferroman Are you facing this issue ? When the mouse drag is completed, the pins are again coming on center of the map which is not the correct location after drag. |
@ShwetKhatri2001 yes exactly |
So, are there any possible solutions available? |
Same issue |
Same here - Loads in the correct location initially, but after moving the map, the pins will snap to their original location relative to the map's container and disregard any changes made to the map's position or zoom |
+1 |
@Huetarded @rnkdsh @ArtISTTT @Hardikbhadru @ruthoferroman @SimonClo NextJS renders twice. If you do reactstrictmode:false inside next.config.js, it solves the issue. Not sure if it's the best option, but according to chatgpt, there are other solutions. The following is the convo I had with open ai, where it presents other solutions. Maybe one of them might help you better (scroll down to the last two comments): https://chat.openai.com/share/2f9a680a-3112-4ee0-b7dc-0f6e9c1e0d7d |
Is there an update on that topic? |
@alvamanu |
+1 |
Describe the bug 馃悰
My map pins are rendered on the correct position initally. They aren't positioned correct as soon as i zoom or pan the map.
To Reproduce 馃攳
Steps to reproduce the behavior:
Expected behavior 馃挱
Map Pins shall be repositioned according to their langitude and lotitude properties after zoom or pan.
Environment:
The text was updated successfully, but these errors were encountered: