Flask-GoogleMaps icon indicating copy to clipboard operation
Flask-GoogleMaps copied to clipboard

Can we get the lat/long from user click?

Open funfine opened this issue 7 years ago • 2 comments

I am trying to record the lat/long data from user click. JS can do it with something like: google.maps.event.addListener(map, 'click', function(event) {placeMarker(map, event.latLng, marker);});

How can i pass the this "event.latLng" to the flask? Can we add this api to flask_googlemaps?

funfine avatar Sep 19 '17 21:09 funfine

I can work on it.

biggydbs avatar Oct 05 '17 08:10 biggydbs

Hello, Is there any progress on that? It would be very helpful indeed. Cheers

harisbal avatar Oct 23 '20 17:10 harisbal