Skip to content

Add location vizualisation map - #119

Merged
abrignoni merged 3 commits into
abrignoni:masterfrom
xperylabhub:location_map
Nov 6, 2020
Merged

abrignoni merged 3 commits into
abrignoni:masterfrom
xperylabhub:location_map

Conversation

@xperylab

@xperylab xperylab commented Nov 6, 2020

Copy link
Copy Markdown

I have been working on a way to visualise all locations at once (except photos).
Takes files in KML export and plot on an interactive map (with a time slider). Only tested for iOS 12.1.4.

Routine D ZRTXX are plotted as line because it seems to make more sense. All others are plotted as circles (wi-fi/cell).

Using circles (instead of markers) because they are lighter and browser can remain fluid with a lot of them.

sample result on my dataset:
image

@abrignoni

Copy link
Copy Markdown
Owner

This functionality is INSANE!!
It works on iOS 12.4.4 and on iOS 13.4.1

Important fix: If the user does not parse an artifact that generates KML files the locations map function crashes the program. Needs to check if there are KML files available before processing.

Question: How will the locations map functionality behave if there is no internet?

Only one small detail. The page header for the artifact changes. Im using Chrome.
Artifact header:
Screen Shot 2020-11-06 at 10 26 14 AM

Artifact header from Location map:
Screen Shot 2020-11-06 at 10 24 37 AM

Really looking forward to merging this. It is a fantastic addition. I can't thank you enough.

@xperylab

xperylab commented Nov 6, 2020

Copy link
Copy Markdown
Author

Thanks !! Happy that you find this useful !

I fixed the map generation to return if no KML export

If no internet connection, it won't work. It is possible to download the JS scripts but for the tiles it does not make so much sense, so...
It is still possible to pass an option to the map to use an offline server for tiles but it is huge...

Page headers also change on Safari.... Probably a conflict with the CSS because it is raw writing an html into another html..
will try to find what is wrong but not top priority IMHO :)

@abrignoni
abrignoni merged commit e323411 into abrignoni:master Nov 6, 2020
@xperylab
xperylab deleted the location_map branch November 8, 2020 18:16
abrignoni added a commit that referenced this pull request Nov 9, 2020
This reverts commit e323411, reversing
changes made to 20a37ae.
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

Successfully merging this pull request may close these issues.

2 participants