open-innovations / jrf-insight

JRF North England Insight Finder
https://open-innovations.github.io/jrf-insight/
MIT License
1 stars 0 forks source link

Padding around maps #97

Closed luke-strange closed 9 months ago

luke-strange commented 9 months ago

Image

luke-strange commented 9 months ago

@slowe would be good to speak to you about this.

slowe commented 9 months ago

@luke-strange Sure. By "padding so maps don't go to the edges" are you referring to the whole map (in which case that should be done in the JRF site styles) or padding around the data?

What kind of map is this? Is it SVG or zoomable?

luke-strange commented 9 months ago

1) We want to add padding around the data, so that there is more grey (or white) around the areas of map with data. We want to do this so that we can put the legend somewhere where the background behind it will always be the same colour. Otherwise it can be hard to see.

2) It's an SVG map. @slowe

luke-strange commented 9 months ago

This is now done - need to wait for new release of lume charts and add in padding: and legend:'top' to all maps visualisations.

slowe commented 9 months ago

I added the new release v0.13.1 to the dev branch.