funkydan2 / alpha-church

Hugo theme for churches based on a html5up theme
https://alpha-church.netlify.app
Other
69 stars 59 forks source link

Multiple site locations? #39

Open agsdot opened 3 years ago

agsdot commented 3 years ago

@funkydan2 For the params.map value in config.toml, is it possible to highlight multiple church locations rather than just one? How can I have multiple markers?

I'd be using this using OpenStreetMaps, and I'd want to highlight a region, but having at least two different locations in different cities? Thanks for your help!

funkydan2 commented 3 years ago

At the moment this isn't possible.

Do you know much about how leaflet.js works with OSM? (I don't.) Is it possible at this line https://github.com/funkydan2/alpha-church/blob/9421d23efe872ae686ea018ea2b9fc0a27ba928c/layouts/partials/map.html#L10 to have multiple coordinates listed?

If it is, you could send in a PR where the latitude and longitude is an array.