Add simple map of stations #57

Merged
W1CDN merged 6 commits from map-1 into main 2024-11-20 10:54:30 -06:00
Owner
  • copy Leaflet JS files locally rather than requiring Internet access
- [ ] copy Leaflet JS files locally rather than requiring Internet access
W1CDN added 1 commit 2024-01-15 10:17:35 -06:00
Author
Owner
Bouncing back and forth between - https://mateuszwiza.medium.com/plotting-api-results-on-a-map-using-flask-and-leafletjs-2cf2d3cc660b - https://leafletjs.com/examples/quick-start/
W1CDN added 1 commit 2024-01-15 11:01:12 -06:00
Author
Owner

The example I used seems to make one feature for each frame, but I think I want to make a layer of objects that can be affected by widgets. For example, this time-slider widget: https://jsfiddle.net/ngeLm8c0/6/ (from https://stackoverflow.com/a/36493012/2152245).

I think this is possible with GeoJSON, which I've thought about before. https://leafletjs.com/examples/geojson/

image

The example I used seems to make one feature for each frame, but I think I want to make a layer of objects that can be affected by widgets. For example, this time-slider widget: https://jsfiddle.net/ngeLm8c0/6/ (from https://stackoverflow.com/a/36493012/2152245). I think this is possible with GeoJSON, which I've thought about before. https://leafletjs.com/examples/geojson/ ![image](/attachments/41595ece-6e0a-434a-8dbf-da40691421f5)
1.4 MiB
Author
Owner

Can't even zoom to show all the markers because the example code I used builds each marker as a separate thing, rather than making them all part of a group. Will need to think this through because I want to show paths, and each path should be a group itself. Maybe groups of groups?

Can't even zoom to show all the markers because the example code I used builds each marker as a separate thing, rather than making them all part of a group. Will need to think this through because I want to show paths, and each path should be a group itself. Maybe groups of groups?
W1CDN added 1 commit 2024-01-15 11:52:36 -06:00
Author
Owner

I added a small map to the main page, but need to do some templating so I can have a small map on one page and a full-size map on another page without duplicating a ton of code.

I added a small map to the main page, but need to do some templating so I can have a small map on one page and a full-size map on another page without duplicating a ton of code.
W1CDN added 1 commit 2024-01-15 17:04:22 -06:00
Author
Owner

Idea for plotting paths for individual frames

  • parse path into vector of SSIDs
  • look up location of each SSID
  • make a GeoJSON of the path

Idea for plotting tails

  • look up frames for SSID for target time interval
  • make a GeoJSON of the frame locations

Idea for getting symbols right

  • db table or file with symbols defined as constants, relate those to image paths
Idea for plotting paths for individual frames - parse path into vector of SSIDs - look up location of each SSID - make a GeoJSON of the path Idea for plotting tails - look up frames for SSID for target time interval - make a GeoJSON of the frame locations Idea for getting symbols right - db table or file with symbols defined as constants, relate those to image paths
W1CDN added 1 commit 2024-01-19 11:08:20 -06:00
W1CDN added 1 commit 2024-11-20 10:52:58 -06:00
W1CDN merged commit a1b9fc7ac4 into main 2024-11-20 10:54:30 -06:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: W1CDN/aprs_tool#57
No description provided.