capacitor-plugins icon indicating copy to clipboard operation
capacitor-plugins copied to clipboard

Marker(s) can be draggable so a setOnMarkerDragEndListener method would be nice

Open chrisweb opened this issue 1 year ago • 0 comments

Feature Request

Plugin

@capacitor/google-maps

Description

We can set a Marker to be "draggable", but there is no function like setOnMarkerDragEndListener(…) to listen to the drop happening, this means we don't know when or where the marker got dropped (the drag ended) on the map

Platform(s)

All please :)

Preferred Solution

The one that works best... no but seriously now, I always feel bad for filling out feature requests and not doing it myself, but I'm behind in my shedule already, so I can't offer my help at this time to work on a PR. but I thought it would be nice to have a ticket, even if it is only to have a place where people can subscribe to get updates

Alternatives

My alternative right now is that instead of dragging the marker, the user clicks to set the marker and if he wants to have it somewhere else he clicks on a new location, I remove the previous marker and create a new one at the location the user just clicked, luckily for me I have only one marker to manage at a time so this works

Additional Context

not really

chrisweb avatar Jul 21 '22 21:07 chrisweb