matt on 04 Jun, 2018 09:08 PM
I think it's coming, but possibly only in offline mode, and not for several months.
Even if you have a GPS plugged into your laptop, your browser probably isn't able to talk to it and get location data, so I can't just read your location directly from the browser the way I can on a phone. That leaves trying to read GPS data through my GPSIO extension (more difficult, but would work both online and off), or reading it directly via the offline app (easier, but would only work offline).
One unresolved issue is how to handle the user panning the map. Does that stop the moving map altogether? Do I wait a fixed amount of time after the last pan before re-enabling moving map mode? Immediately jump back to the current location on the next location update? Can you provide input on how other apps handle this, or what the preferred option would be?
I understand the issues of having the browser aware of the GPS data. I was thinking it could work like the Garmin tracker app.
Online: Run and app that listens to a comm port for NEMA sentances. Send that data to the SARtopo server with an ID number. Then in the browser you would configure your ID number. The browser app could then center on and display the track of the data feed.
Offline: Run and app that listens to a comm port for NEMA sentances. Send that data to the offline SARtopo instance with an ID number. Then in the browser you would configure your ID number. The browser app could then center on and display the track of the data feed.
Great questions about the panning and centering. Personally I do not like automatic re-centering. If I pan and zoom the map then that stops the center on me feature . i would want to click an icon on the screen that would use the current zoom level, center on my location and maintain that until I manually zoom or pan the map. I have used apps the jump back immediately on the next update and it is awkward and interrupts the action I am trying to perform. I guess an optional time reset might be a good idea. But I like the manual restart the best.