flask-extensions / flask-extensions/Flask-GoogleMaps

Center map based on User's location?

Open
#52 2 comments 1 reaction 0 assignees View on GitHub
hacktoberfest
Dominant language
Python
Stars
655
Forks
193
PR merge metrics
No merged PRs in 30d

Description

I've been using Flask-GoogleMaps to display some companies that are partnering with us.

I would be great if we had a way to center the map based on user's location.
So then users could see easily all the markers around them.

For now, I'm using `request.access_route` to get user's IP/Location and then, set the `lat` and `lng` variables.

Wondering if it could be included in the next versions.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing how Flask-GoogleMaps currently receives lat and lng and renders the map, then compare that with the request.access_route approach described in the issue. Define the supported user-location source and verify that the map centers on that location while retaining nearby markers.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, python
Domain
full-stack, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.