Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web UI Location #181

Open
ki6uve opened this issue Mar 25, 2024 · 1 comment
Open

Web UI Location #181

ki6uve opened this issue Mar 25, 2024 · 1 comment

Comments

@ki6uve
Copy link

ki6uve commented Mar 25, 2024

Does someone know how to get the web UI to launch with my current location in focus?

@tcassels
Copy link

On line 171 of gmap.html you'll see the Map variable for Leaflet. Within setView() you can set the Lat/Lon inside of the array. The value outside of the array is the default zoom.

For example
setView([lat, lon], zoom)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants