open-innovations / jrf-insight

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

Dynamically generate a list of names to pass to SVG maps #80

Closed luke-strange closed 1 month ago

luke-strange commented 10 months ago

Function is passed a list of codes

{{ place[key].relations.children }} e.g. for yorkshire this is: Image

and returns an array with name: lat: lon: This data could be stored in the geojson themselves and looked-up based on the code. e.g. Image

This array will be passed into places: in defining the visualisation