The application is built using Svelte, Leaflet and svelte-spa-router. It is running here:
It is an experiment in rendering maps of the Islands of Ireland on a Svelte single page application using Leaflet.js maps. The island details are derived from the book Oileain by David Walsh. It relies the API hosted in this repository, which is an immutable json version of David's book.
Several hundred markers are rendered on the map on the home page (one for each island), and clicking in these will switch to a detail view on the selected island. Another view (accessible from the header) explores the use of 2 maps on a single page; selecting a marker on on map will 'fly to' a zoomed in satellite view in a separate map on the same page.
npm install
To run the application, execute the following from within the project folder:
npm run dev
The application should be served on: