Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically generate list of locations from events.json #391

Open
ChristophMuth opened this issue Jul 4, 2023 · 1 comment
Open

Automatically generate list of locations from events.json #391

ChristophMuth opened this issue Jul 4, 2023 · 1 comment

Comments

@ChristophMuth
Copy link
Contributor

The events.json file contains all the information needed for the map popup. It needs to be enriched by the geocoordinates using the address data.

Instead of having to manually create the locations array (locations.js) file, we could retrieve the lat/long coordinates from a geocode api like geoapify.

@McPringle
Copy link
Member

One nice way would be to add this functionality in the gulpfile.js. Parse the events.json and create something like locations.json. Take a look at generating the feed.xml in the same file. It parses the events.json and creates a XML file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants