Commit Graph

2275 Commits

Author SHA1 Message Date
Mateusz Konieczny
501bf5401b enable first map switching button 2022-12-09 14:12:02 +01:00
Maciej Ziarkowski
f6c0d3fd4b Lift map colour scale context up into MapApp 2022-12-09 13:03:42 +01:00
Mateusz Konieczny
ed0f0c7d69 fix colour of instruction box 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
4a39626594 special colour for disclaimers 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
1953a8d5ae remove not needed <br/> 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
84c097fa9f disclaimer styling 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
61e2ebf460 tweak map button styling 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
3ac50e2549 fix night map style 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
778ff84f31 consolidate css files 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
97b4b810b6 drop dead code 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
ffb988bebb add keys to control map 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
3983475e2e tweak text 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
1e056b8825 fix colours of boxes 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
8436987091 increase minimum width for inline pink buttons
longer labels caused ugly effects with different sizes
2022-12-08 20:45:33 +01:00
Mateusz Konieczny
dcc277bee5 tweak descriptions again 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
420ec9a47e unify styling 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
a94c5da927 describe action on buttons 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
5562f07780 more descriptions of zones 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
befbe6265e unify map display state store
fix night mode display for buttons
2022-12-08 20:45:33 +01:00
Mateusz Konieczny
21eea660be simplify code 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
57361dcbdc remove dead code 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
7c66edd570 add tooltips explaining what is the meaning of this layers 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
56c051d0eb tweak description 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
679a302bbd provide more clear info what is going on 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
0fa112e732 drop not applicable css remmants 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
f181daa900 tweak labels of layer buttons 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
b17b7922b6 enable/disable layer buttons 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
6ad6c7f11b fix mistaken label 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
499ecbf982 replace styling with newlines by css 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
57504f21c3 provide hacky spacing 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
46a7ac6cf3 tweak layer naming 2022-12-08 20:45:33 +01:00
Mateusz Konieczny
e885d758dc add useContext to allow changing display state from two places
- buttons on the map
- sidebar buttons
2022-12-08 20:44:36 +01:00
Mateusz Konieczny
38c75ac1a3 fix phrasing on some overlay buttons 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
4218350b71 reorder switch buttons as expected 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
97f8d9cf93 tweak housing colour 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
e407919129 get housing zones data in geojson
that was a silly story
https://apps.london.gov.uk/planning/?_gl=1*avicz4*_ga*MTg1MjY3MzMuMTY2NzcxMjIwMg..*_ga_PY4SWZN1RJ*MTY2NzcxMjI1NS4xLjAuMTY2NzcxMjI1NS42MC4wLjA links datastore
https://data.london.gov.uk/dataset/housing_zones is there
but for some reason it can be opened and viewed in QGIS that fails to export it
this failed with errors that once solved resulted in more problems

in the end I got data from initial site, captured network traffic with Firebug, manuall converted from some esri format into badly-handed Geojson
then rewound with https://github.com/mapbox/geojson-rewind

it is possibly that there was data loss or other issues along the way but at least data is there
2022-12-08 20:42:56 +01:00
Mateusz Konieczny
eff41d5c22 drop weird name 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
9431b4256e consistent naming 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
1d2a4430f7 enable buttons 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
9eb1ccff22 enable three more layers 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
b34e8c6ed3 housing zones with massive problem 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
372b6a9187 record protected vistas geometries
https://data.london.gov.uk/dataset/london-views-management-framework-lvmf-extended-background-vistas

CC-BY-SA 4.0 by Greater London Authority (GLA)
2022-12-08 20:42:56 +01:00
Mateusz Konieczny
9e2bfe1438 add creative entrprise zone geomtries
that was a bit tricky - captured in requests made by https://apps.london.gov.uk/planning/?_gl=1*avicz4*_ga*MTg1MjY3MzMuMTY2NzcxMjIwMg..*_ga_PY4SWZN1RJ*MTY2NzcxMjI1NS4xLjAuMTY2NzcxMjI1NS42MC4wLjA

licence:ogl-v3 The boundaries are based on Ordnance Survey mapping and the data is published under Ordnance Survey's 'presumption to publish'.Contains OS data © Crown copyright and database rights 2019.
2022-12-08 20:42:56 +01:00
Mateusz Konieczny
241c0583a9 enable borough boundary display by default 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
c0b58acc3a add or improve attributions 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
03bdf47cc5 show outlines for historic map across all zoom levels 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
60253d2a79 better description of historic map 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
7b85b68490 subtler stroke for outlines 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
19770cd343 add outline for historic map on top of it 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
8f1a03222c new historic map example 2022-12-08 20:42:56 +01:00