flask-extensions / flask-extensions/Flask-GoogleMaps
Can we get the lat/long from user click?
- Dominant language
- Python
- Stars
- 655
- Forks
- 193
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Research direction
No files, tests, or entry points are named. Start by locating the existing Flask-GoogleMaps API and the generated client-side map JavaScript, then trace how browser events could reach Flask. Done means there is a defined, supported way to pass click latitude and longitude to the Flask application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, python
- Domain
- api, backend, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100