Commit graph

23 commits

Author SHA1 Message Date
Chandler Swift 4ac53a4733
Only make recursive table on non-null objects 2024-03-15 00:07:37 -05:00
Chandler Swift 44d41ce017
Call customPopupCallback even if no customPopup 2024-03-12 00:10:03 -05:00
Chandler Swift 52a2ce3838
Add links for non-tls URLs, too 2024-03-12 00:09:48 -05:00
Chandler Swift 9b48d1c782
Populate layers from URL 2024-03-09 19:54:43 -06:00
Chandler Swift 194e8e949c
Add edit in JOSM/iD buttons to right-click menu 2024-02-05 00:52:24 -06:00
Chandler Swift fb667871b4
Add source code link with git hash, plus modification dates 2024-02-02 23:03:04 -06:00
Chandler Swift acad9c5944
Clean up HLS stream
Without this, it will continue loading chunks in the background.
2024-02-02 21:46:21 -06:00
Chandler Swift b86fadf426
Expose map to the window object for debugging 2024-02-02 03:25:36 -06:00
Chandler Swift d96415b1c5
Use getProperties instead of undocumented var 2024-02-02 03:25:22 -06:00
Chandler Swift 2242863fdd
Add right-click menu 2024-02-02 03:14:58 -06:00
Chandler Swift 77b4f845ae
Resize map on div size change
By default, OpenLayers listens for and resizes on page resize, but not
on map div size change. (Pre-2021ish, this was maybe impossible to do?
But ResizeObserver makes this easy.) This means from the first time the
sidebar is collapsed until the first time a resize event was triggered
(e.g. on mobile rotating the device) the map wouldn't render render its
full size.
2024-02-02 01:50:04 -06:00
Chandler Swift f8e1126444
Add streams to 511mn layer 2024-01-29 03:18:36 -06:00
Chandler Swift 61ee67875c
Add basic popup for item information 2024-01-29 02:26:03 -06:00
Chandler Swift 6220dd76d5
Add per-category details 2023-09-01 22:23:40 -05:00
Chandler Swift 78f9830400
Only open categories with active layers by default 2023-07-28 08:21:58 -05:00
Chandler Swift 77ff710b0d
Make categories collapsible 2023-07-25 20:35:57 -05:00
Chandler Swift 4167fed59c
Wrap layer selection in labels so clicking text checks box 2023-07-04 00:20:13 -05:00
Chandler Swift fd7dca3b11
Make menu off-canvas 2023-07-03 22:13:15 -05:00
Chandler Swift ffaf53fee2
Add basic side menu for layer selection
This _should_ be smart and not load expensive layers until they're rendered.
2023-07-03 19:45:53 -05:00
Chandler Swift a0a5b5bf42
Add NHL arenas layer 2023-07-03 18:39:44 -05:00
Chandler Swift efe4b7cd92
Add Amtrak routes layer 2023-07-03 15:42:53 -05:00
Chandler Swift 8cd758a780
Center on my home 2023-07-03 01:00:10 -05:00
Chandler Swift a762f2b9a4
Add base map code
This was built with `npm create ol-app my-app`.
2023-07-03 00:20:36 -05:00