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

Add option for reading points from text file #92

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tormodvolden
Copy link
Contributor

Not sure how much features you want in the examples, but this turned out useful for me.

Later I might look at periodically reread the file for live updates, and make sure it works for fifos as well.

The file should list one point coordinate per line, with
latitude and longitude separated by whitespace.

Signed-off-by: Tormod Volden <[email protected]>
Signed-off-by: Tormod Volden <[email protected]>
@tormodvolden
Copy link
Contributor Author

The second commit is optional. Surely makes sense when reading points from file, whether to update home on any manually added points can be discussed.

@johnny-bit
Copy link
Collaborator

I'm not convinced adding that option to main demo is good idea... However we have editable_track and polygon examples, so adding another example based on minimum mapviewer that reads points from file would be acceptable IMO. to make it "perfect" you could try supporting gpx files, just to draw the route recorded on gpx file.

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