Chandler Swift
041ebaabe0
Fix array/string confusion
...
"'ar' in Menards" means that all of the Arkansas survey markers show up when I'm looking for Menards.
2024-10-19 22:03:40 -05:00
Chandler Swift
74c070215c
Put boring colors last in the list
2024-10-19 20:32:29 -05:00
Chandler Swift
3ca2cd0f7d
Improve layer color UI
...
- Add color picker
- Default colorpicker to nice value from list
- Make sure it doesn't overlap with an already-chosen color
2024-10-19 20:32:16 -05:00
Chandler Swift
54620a68fc
Use hex color format; add color picker input
2024-10-19 20:26:10 -05:00
Chandler Swift
26c5b56d58
Display color next to layer name
...
This should make it easier to disambiguate layers that are otherwise hard to tell apart.
2024-10-19 19:25:49 -05:00
Chandler Swift
1ad82c55ee
Use predefined color from list to ensure uniqueness
2024-10-19 19:25:49 -05:00
Chandler Swift
502de00933
Add customLayer URL param
...
This includes a switch to `qs` for querystring parsing, since the
browser builtin won't automatically extract out objects inside arrays.
2024-10-19 19:25:49 -05:00
Chandler Swift
13eb66570a
Warn if custom layer source may not be GeoJSON
2024-10-19 19:10:38 -05:00
Chandler Swift
13855a9a38
Add custom GeoJSON layer functionality
2024-10-19 19:10:38 -05:00
Chandler Swift
ff8da54892
Improve URL layer enabling
2024-09-02 13:58:53 -05:00
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