Closed readingdancer closed 4 years ago
Description of the new functionality
The latitude / longitude coordinates used as the default map position are currently hard coded, we would like this to be configurable within the "theme.config.js" files in the Theme folders.
What we need to code
Currently this is hard coded on this line ( https://github.com/code-for-chapel-hill/NC-COVID-Support/blob/master/covid-19-support/src/App.vue#L108 ) as:
centroid: [35.91371, -79.057919]
These coordinates should be moved in each of the Theme.config.js files under a new section called settings. e.g.
theme = { settings: { initialMapCenter: { lat: 35.91371, lng: -79.057919 } } ... }
I am working on this one :)
Description of the new functionality
The latitude / longitude coordinates used as the default map position are currently hard coded, we would like this to be configurable within the "theme.config.js" files in the Theme folders.
What we need to code
Currently this is hard coded on this line ( https://github.com/code-for-chapel-hill/NC-COVID-Support/blob/master/covid-19-support/src/App.vue#L108 ) as:
centroid: [35.91371, -79.057919]
These coordinates should be moved in each of the Theme.config.js files under a new section called settings. e.g.