Commit graph

16 commits

Author SHA1 Message Date
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