Commit graph

106 commits

Author SHA1 Message Date
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
Chandler Swift eb1a8fd17c
Remove unneeded imports from Menards layer 2023-07-24 22:44:35 -05:00
Chandler Swift d75b833911
Add Kwik Trip 2023-07-04 01:18:14 -05:00
Chandler Swift 4c4b37e74e
Add Culver's 2023-07-04 00:56:31 -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 bacab31bbc
Add Menards layer
Most of this was stolen from prior work:

6c4c2aa9ae

The one thing that took me an unreasonably long time to figure out was
that SVGs without width/height don't work (correctly? at all?) in
OpenLayers. Possibly due to this issue?:

https://github.com/openlayers/openlayers/issues/14196

Anyway, it was fixed by adding a width and height attribute to the pin
SVG.
2023-07-04 00:08:44 -05:00
Chandler Swift ed0abffad1
Update README 2023-07-03 22:42:44 -05:00
Chandler Swift 2ff3e61060
Slightly improve styling on mobile devices 2023-07-03 22:41:24 -05:00
Chandler Swift fd7dca3b11
Make menu off-canvas 2023-07-03 22:13:15 -05:00
Chandler Swift 06b2b5103a
Add some more basemap layers 2023-07-03 19:46:22 -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 7e9164c11f
Update base HTML template 2023-07-03 19:22:33 -05:00
Chandler Swift a0a5b5bf42
Add NHL arenas layer 2023-07-03 18:39:44 -05:00