capacitor-community / google-maps

Capacitor Plugin using native Google Maps SDK for Android and iOS.
https://capacitor-community.github.io/google-maps/
MIT License
152 stars 64 forks source link

Update position of marker when the bounds are changed #204

Open sparkTechSol opened 1 year ago

sparkTechSol commented 1 year ago

Discussed in https://github.com/capacitor-community/google-maps/discussions/203

Originally posted by **sparkTechSol** November 14, 2022 Hello, I want to move the marker as the map's bounds are changed. Although we can remove/add markers but I'm unable to find anything related to change the position of the marker.
tafelnl commented 1 year ago

For now, no method like updateMarker exists. As a workaround you can - like you mentioned already indeed - call removeMarker and then addMarker again.

MyTek commented 9 months ago

removeMarker() and removePolygon() no longer work in 2.0.0-beta.7. Any chance i can get some help on this or is the project dead?

tafelnl commented 9 months ago

They do work and the project is not dead. Please do not hijack a random issue

Mohanapriya011 commented 2 months ago

Any update regarding Update position of marker