Commit graph

68 commits

Author SHA1 Message Date
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 572a8c6d3c
Add properties to Chandler's location 2024-02-02 03:33:09 -06:00
Chandler Swift 0c6f056543
Remove erronenously included console.log 2024-02-02 03:26:19 -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 8d26ccf5c4
Upgrade dependencies, including OL7.1→8.2 2024-02-02 03:02:46 -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 ff77bc31e7
Add Viarail layer 2024-02-01 01:17:08 -06:00
Chandler Swift 60d46c4b62
Update DOT cams README 2024-01-31 01:23:02 -06:00
Chandler Swift dbcd151364
Refactor DOT cam layers; misc features
* Add more travel-iq states
 * Combine DOT cam layer UI into single place
 * Use standard schema for cam data
 * Differentiate between photo and video cameras
2024-01-31 01:17:04 -06:00
Chandler Swift 710930f428
Add indiana
"in" is a valid identifier, hence the underscore. Bump zoom.
2024-01-30 01:11:16 -06:00
Chandler Swift fd3fd0b105
Genericize Wisconsin's solution 2024-01-30 00:37:34 -06:00
Chandler Swift d4282a6eae
Fix list 2024-01-30 00:23:54 -06:00
Chandler Swift e41bf039c9
Add Alabama DOT cameras 2024-01-30 00:23:06 -06:00
Chandler Swift 4f816352b5
Add Alabama DOT cameras 2024-01-30 00:23:06 -06:00
Chandler Swift fcdb56877f
Make WI DOT get_data executable 2024-01-30 00:23:06 -06:00
Chandler Swift c6e80cf9ad
Consolidate/add castle-rock derived cameras 2024-01-30 00:23:06 -06:00
Chandler Swift 30b7ca198a
Add "all" option for DOT cams 2024-01-29 23:31:17 -06:00
Chandler Swift 91977bdc99
Add Iowa DOT
Turns out this is exactly the same as MNDOT, just a different URL!

Differences:

    diff -x \*.geojson layers/dot-cams/mn layers/dot-cams/ia

    diff -x '*.geojson' layers/dot-cams/mn/get_data.py layers/dot-cams/ia/get_data.py
    16,20c16,20
    <                 north:53.23294,
    <                 south:40.40589,
    <                 east:-78.6823,
    <                 west:-107.24675,
    <                 zoom:9,
    ---
    >                 north:45.2,
    >                 south:38.2,
    >                 east:-82.9,
    >                 west:-98.3,
    >                 zoom:11,
    29c29
    < res = requests.post('https://511mn.org/api/graphql', json=PAYLOAD)
    ---
    > res = requests.post('https://511ia.org/api/graphql', json=PAYLOAD)
2024-01-29 20:13:14 -06:00
Chandler Swift 7fbb7a426a
MNDOT cameras _do_ expose a source!
Co-Authored-By: Eric Villnow <villnoweric@gmail.com>
2024-01-29 20:09:09 -06:00
Chandler Swift 5d39ee481e
Make MNDOT get_data.py executable 2024-01-29 19:53:25 -06:00
Chandler Swift 3dadd8f592
Add WI DOT cams layer 2024-01-29 19:31:28 -06:00
Chandler Swift f8e1126444
Add streams to 511mn layer 2024-01-29 03:18:36 -06:00
Chandler Swift a6ff3d42f0
Add 511MN cameras layer 2024-01-29 02:29:10 -06:00
Chandler Swift 61ee67875c
Add basic popup for item information 2024-01-29 02:26:03 -06:00
Chandler Swift 4b278406e2
Disable UI zoom
Without this, on mobile the map zoom and the UI zoom conflict in weird ways that make the UI hard to use.
2024-01-29 00:56:46 -06:00
Chandler Swift 6220dd76d5
Add per-category details 2023-09-01 22:23:40 -05:00
Chandler Swift ac2728b393
Autorefresh Chandler location every 10 seconds 2023-09-01 22:19:45 -05:00
Chandler Swift bd31c08c16
Add Trahan trip route 2023-09-01 22:19:05 -05:00
Chandler Swift 8017e4d88b
Add state land layer 2023-08-27 17:39:55 -05:00
Chandler Swift 69d567d13c
Add light pollution layers 2023-08-27 16:33:51 -05:00
Chandler Swift 8c011b481a
Add Sprint/AT&T coverage layers 2023-08-19 13:53:12 -05:00
Chandler Swift 645aa85751
Add Punch Pizza 2023-08-19 13:52:20 -05:00
Chandler Swift 78f9830400
Only open categories with active layers by default 2023-07-28 08:21:58 -05:00
Chandler Swift eed4688c3b
Add US Public Land (national park/forest) layers 2023-07-28 13:15:45 -05:00
Chandler Swift 354d952567
Fix spacing/padding/overflow style issues 2023-07-28 08:14:48 -05:00
Chandler Swift bfef3a2c71
Add Country Kitchen layer 2023-07-28 06:50:50 -05:00
Chandler Swift da86da8877
Add Whataburger layer 2023-07-25 22:46:28 -05:00
Chandler Swift 3e3eae869c
Add states, plus who's visited where 2023-07-25 22:15:16 -05:00
Chandler Swift 0b88a77b15
Add US Census Bureau layers 2023-07-25 22:06:45 -05:00
Chandler Swift 77ff710b0d
Make categories collapsible 2023-07-25 20:35:57 -05:00
Chandler Swift 7957523c3c
Distribute data with layers instead of data/ dir
This was originally done to make the gitignoring easier, but ended up
being somewhat more complex when trying to include files, so they're
moving out closer to the point of use.
2023-07-25 19:14:05 -05:00
Chandler Swift c74edcb8c0
Move chains to their own directory 2023-07-25 19:14:05 -05:00
Chandler Swift f3f7a21645
Add bikepacking routes layer 2023-07-25 17:42:31 -05:00
Chandler Swift e203a93478
Add Milwaukee Burger Company layer 2023-07-25 17:41:31 -05:00
Chandler Swift 066315f36a
Add Chandler layer
Also enable es2022 to allow top-level await (supported by 2021-era+
browsers)
2023-07-24 23:23:42 -05:00
Chandler Swift be8cf4e5f0
Add Krispy Kreme layer 2023-07-24 22:52:40 -05:00
Chandler Swift ca24e3b6ea
Add Waffle House layer 2023-07-24 22:44:54 -05:00