antirez/dump1090

Web UI Location

ki6uve opened this issue · 1 comments

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

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)