MyLocation icon indicating copy to clipboard operation
MyLocation copied to clipboard

Add mapsforge map

Open gdt opened this issue 3 years ago • 5 comments

Using an online map would be a security problem by leaking location, so I'm suggesting adding a local map that can show all of the locations simultaneously. For an example of behavior (and likely some usable code), see SatStat which can show GPS in red and Network in blue, with error circles

gdt avatar Dec 28 '21 17:12 gdt

I do see that one can send coords to a map app. But a map tab would show updates as they happen, show the error circles, and enable visualizing it all together.

gdt avatar Dec 28 '21 18:12 gdt

This, I feel, would bloat the app. One reason I use it is that it's minimal, without excess ‘features’, so that its memory footprint is small, since I have a bunch of other apps running while surveying.

I'd argue that map rendering of multiple providers is best done in a separate app. I recall seeing an example (elsewhere) in the past [turns out that it was SatStat 😄].

Lee-Carre avatar Jan 08 '22 15:01 Lee-Carre

A separate app makes sense; I didn't think of that. What I am after is the functionality of seeing some kind of map with all the providers and their error circles, and avoiding leaking location off-device. How that happens isn't important.

An example of separate apps that don't seem separate to the user is OpenTracks:

  • https://github.com/OpenTracksApp/OpenTracks
  • https://github.com/OpenTracksApp/OSMDashboard

I wonder if the OSMDashboard people would be amenable to receiving intents with the list of providers and data; that could be an easy mod.

gdt avatar Jan 08 '22 15:01 gdt

@gdt

I was thinking of the OpenTracks model, actually 🙂.

Unless you really do need it to be real-time, would this not be accomplished by #11 and parsing the output? Actually, I don't see why a log file couldn't be parsed as it's generated.

Lee-Carre avatar Jan 08 '22 15:01 Lee-Carre

I am coming at this from trying to understand location provider behavior. In SatStat (https://gitlab.com/mvglasow/satstat also in f-droid), there is the map view I'm suggesting, but limited to Precise and Network. I have watched that while walking around to see how the network provider's (which was only DejaVu) data compared. So I am very much thinking real time. I would suggest you try the satstat map tab if you haven't, although the last release was 3y ago, and I hope after you see that update you'll be excited about real-time visualization.

(I am contemplating trying to modernize DejaVu and thus am starting to think about debugging tools.)

gdt avatar Jan 08 '22 16:01 gdt