flask-extensions / Flask-GoogleMaps

Easy way to add GoogleMaps to Flask applications. maintainer: @getcake
https://flask-googlemaps.com
MIT License
647 stars 196 forks source link

Can we get the lat/long from user click? #60

Open funfine opened 7 years ago

funfine commented 7 years ago

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?

biggydbs commented 7 years ago

I can work on it.

harisbal commented 4 years ago

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