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

Generate a default map view with Leaflet/Turf #1

Closed
amcewen opened this issue May 25, 2020 · 1 comment
Closed

Generate a default map view with Leaflet/Turf #1

amcewen opened this issue May 25, 2020 · 1 comment

Comments

@amcewen
Copy link
Member

amcewen commented May 25, 2020

Given Jekyll will be serving up static pages, we need to know what those pages look like. As a first step, creating an HTML page that loads Leaflet.js (and Turf.js? I'm not sure what each of those provide, and so whether we need both?) and shows an OpenStreetMap map of Liverpool.

Then load an isochrone and show that on the map too. This comment has a URL to fetch a sample isochrone

@amcewen
Copy link
Member Author

amcewen commented May 30, 2020

Turf.js seems to do more analysis of map data, and Leaflet.js the main showing tiles, drawing geoJSON areas, etc. So I think we can start with Leaflet and add Turf if we need some of the more advanced features it has.

I've got the basics done, so next is to pull that into Jekyll in #2.

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

No branches or pull requests

1 participant