Mateusz Konieczny
cbb31ad019
try historic map on all zoom levels
2022-12-18 19:49:58 +01:00
Mateusz Konieczny
c4933fdc11
proof of concept for borough names with Mapnik-based tiles
2022-12-18 19:49:47 +01:00
Mateusz Konieczny
838a0dd087
more transparent conservation areas overlay
2022-12-15 13:25:12 +01:00
Mateusz Konieczny
14c2ca92d8
tweak styling of conservation boundary
2022-12-14 12:14:49 +01:00
Mateusz Konieczny
2b380c25b6
put conservation area behind buildings
2022-12-12 14:38:58 +01:00
Maciej Ziarkowski
f6c0d3fd4b
Lift map colour scale context up into MapApp
2022-12-09 13:03:42 +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
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
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
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
9eb1ccff22
enable three more layers
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
60253d2a79
better description of historic map
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
Mateusz Konieczny
374a34e4ad
conservation boundary new style
2022-12-08 20:42:56 +01:00
Mateusz Konieczny
a93aabfc4a
historic map display test
...
note that it is test only - terms of use and copyright status needs to be checked
2022-12-08 20:42:56 +01:00
Mateusz Konieczny
8843cf33ef
brown ca styling in overlays
2022-12-08 20:42:56 +01:00
Mateusz Konieczny
f3aaeddb96
more visible conservation area layer
2022-12-08 20:42:56 +01:00
Mateusz Konieczny
9805c0c17b
switch conservation area to purple
2022-12-08 20:42:56 +01:00
Mateusz Konieczny
c070e6a946
enable conservation area display
2022-12-08 20:42:56 +01:00
Mateusz Konieczny
b6d4037226
show flood areas as areas
2022-12-08 20:42:55 +01:00
Mateusz Konieczny
669ec659fa
add flood zone display
2022-12-08 20:42:55 +01:00
Mateusz Konieczny
7a72b6dca7
prevent overlap
2022-12-08 20:16:02 +01:00
Mateusz Konieczny
efab635407
show some INSPIRE parcels
2022-12-08 20:15:53 +01:00
Mateusz Konieczny
a6156d66a3
add switchable borough boundary overlay
2022-12-08 20:15:52 +01:00
Mateusz Konieczny
bec6277706
add special empty map
...
I am deeply unhappy about ugly disclaimer handling though right now I have no good ideas how to provide nicer display
2022-11-21 22:10:44 +01:00
Mateusz Konieczny
bba80f4511
Allow multiline legend entries
...
text will pleasantly flow on right side rather than appearing under icon
2022-02-14 13:36:19 +01:00
Mateusz Konieczny
08807b2654
Enable hiding legend also on a large screens
2022-01-14 06:11:28 +01:00
Mateusz Konieczny
5ed0b261ae
Set night mode as a default
2021-12-09 17:39:00 +01:00
Mateusz Konieczny
a0111a190b
Simplify code
...
Co-authored-by: Tom Russell <tomalrussell@gmail.com>
2021-12-08 17:54:09 +01:00
Mateusz Konieczny
9bae9a0b63
Merge branch 'master' into night_mode
2021-12-03 20:37:03 +01:00
Mateusz Konieczny
6551d9742f
revert part of whitespace changes
2021-12-03 20:32:54 +01:00
Maciej Ziarkowski
a4d1afab81
Rewrite map with hooks, add map colour toggle
...
Map and Legend components rewritten using hooks.
Also, each category can now have multiple available colour scales.
These can be switched using a select dropdown in the legend.
2021-10-01 13:30:03 +01:00
Vincent Schaffer
611772efa8
intergrated night filter
2021-07-17 17:49:38 -04:00
Vincent Schaffer
c0ad25240d
added filter css
2021-07-17 17:30:03 -04:00
Maciej Ziarkowski
8f94c22586
Reduce map maxZoom to avoid tiles missing on retina
...
Due to a problem with Leaflet, the combination of setting maxZoom, maxNativeZoom and detectRetina
causes the map on retina devices to go blank when zooming to max zoom level.
Decreasing max zoom to 18 reduces the ability of users to zoom in, but prevents this issue.
2021-06-16 22:41:01 +01:00
Maciej Ziarkowski
efb5dafcdc
Update map position setting for react-leaflet v3
2021-06-12 01:35:20 +01:00
Maciej Ziarkowski
b0791c4cdc
Set base map theme to Light without switching
...
This is necessary until we transition to a better
option for base maps (e.g. vector maps), as the
previous OS API is now defunct / inaccessible
2021-05-06 18:53:57 +01:00