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
Maciej Ziarkowski
1ee6a7581e
Add hotfix for basemap - set to plain color
2021-05-04 17:17:14 +01:00
Maciej Ziarkowski
0848ba5246
Fix TileLayer url bug, reorganise map layers
2021-05-02 18:24:27 +01:00
Maciej Ziarkowski
38896d6852
Fix bug in updated react-leaflet highlight layer
2021-04-27 00:30:51 +01:00
Maciej Ziarkowski
044c3edaa4
Update typescript, react, leaflet
2021-04-26 19:19:06 +01:00
Maciej Ziarkowski
305f2f1671
Refactor map app with hooks and separated config
2021-02-24 07:49:56 +00:00
Maciej Ziarkowski
1ff3b38c4a
Refactor data maps and add building outlines ( #630 )
...
* Add subtle border for age layer buildings
* Simplify map data queries
* Fix typo in updated construction layer query
* Enable data tile caching switch for development
* Enable turning tile cache off
* Use render time variables for highlight tiles
* Create building numbers map layer
* Create database view for simpler map queries
* Decrease min zoom for numbers layer
* Add building outlines to all map layers
* Adjust building numbers style and zoom level
* Revert "Create database view for simpler map queries"
This reverts commit e3c342cb7393f491c838df5654c2316a9dab08e1
which cannot be implemented before upgrading Postgres to min v11
2021-01-29 02:40:11 +00:00
Maciej Ziarkowski
3a0c852088
Refactor and restyle UI ( #645 )
...
Tweaks to visual output and code organisation related to styles of:
- sidebar (category grid, data view/edit, section headers and action buttons)
- header/menu
- map controls (search box)
- layout (sidebar, menu, header sizes)
2020-12-27 23:51:32 +00:00
Tom Russell
2d6a18f81b
Add verification for Facade Data, thread info through frontend
2020-08-04 15:54:49 +01:00
Maciej Ziarkowski
6846a03878
Update current use legend
2020-07-16 16:22:30 +02:00
Maciej Ziarkowski
e544e54583
Update style, enable subtitle in legend
2020-07-16 16:22:11 +02:00
Maciej Ziarkowski
88459f3e09
Amend Agriculture and Fisheries legend text
2020-06-25 04:56:26 +01:00
Tom Russell
e6e0f790f1
Fix land use styles
...
Add vacant/derelict and agriculture/fisheries
Fix transport green
2020-06-18 12:28:11 +01:00
Tom Russell
3c2ecbd76e
Fix showing maps for likes
2020-04-09 15:23:50 +01:00
Tom Russell
b901e392bb
Merge branch 'master' into feature/menu-sidebar
2020-04-09 13:30:03 +01:00
Tom Russell
97953db742
Merge branch 'master' into develop
2020-04-09 13:26:36 +01:00
Tom Russell
218155ccdd
Merge pull request #573 from mz8i/feature/538-planning-update
...
Feature 538: planning update
2020-04-09 13:22:15 +01:00
MeldaS
32bfb490be
Modify files for adding colouring map attribute
2020-04-01 12:18:44 +01:00
Maciej Ziarkowski
c3f757734a
Make land use legend more concise
2020-03-24 00:16:37 +00:00
Maciej Ziarkowski
bbd570ddbe
Clean up land use order map/legend
2020-03-20 01:05:06 +00:00
Maciej Ziarkowski
4c7edee271
Update Age colours to latest style
2020-03-06 14:12:23 +00:00
Maciej Ziarkowski
d4d8d710f9
Change transport color
2020-02-16 19:49:04 +00:00
Maciej Ziarkowski
aebd90a788
Update legend title for Planning
2020-02-16 18:33:40 +00:00
Maciej Ziarkowski
20ceb7af0a
Clean up planning legend and map
2020-02-16 18:04:08 +00:00
Maciej Ziarkowski
48de4fd645
Add disclaimer to legend
2020-02-10 23:38:46 +00:00
Maciej Ziarkowski
84e4d80b3e
Add test colours for planning
2020-02-10 22:51:22 +00:00
Maciej Ziarkowski
63c6c77796
Update age legend labels
2020-02-10 21:11:42 +00:00
Maciej Ziarkowski
78315ed986
Update age map colour progression
2020-02-10 21:09:03 +00:00
Maciej Ziarkowski
3bd8ad85ae
Merge branch 'fix/age-colours' into feature/538-planning-update
2020-02-10 18:10:41 +00:00
Maciej Ziarkowski
d6e8695140
Swap scheduled monument, conservation area colours
2020-02-10 18:10:00 +00:00
Maciej Ziarkowski
3c157f079f
Add listed buildings to planning map and legend
2020-02-09 22:51:03 +00:00
Maciej Ziarkowski
7f4086f5ad
Fix colour scale for height to apex
2020-02-07 16:07:18 +00:00
Maciej Ziarkowski
b168a0b331
Adjust age map colours
2020-02-07 15:57:44 +00:00
Tom Russell
7e8f34a22e
Remove 'Vacant and Derelict' from Land Use key
2020-02-03 22:40:52 +00:00
Tom Russell
ca6ba7f217
Colour logo in legend
2020-02-03 22:36:51 +00:00
Tom Russell
4dc08630d3
Create dynamics section, move lik to community
2020-02-03 22:36:51 +00:00
Tom Russell
0e23e47762
Change major breakpoint to 990px
2020-02-03 22:36:51 +00:00
Tom Russell
33ff812aec
Refine layout
...
Sidebar menu, mobile quirks
2020-02-03 22:36:51 +00:00