Skip to content

This is an example showing how integrate Leaflet via Elm's ports.

License

Notifications You must be signed in to change notification settings

pointbar/elm-leaflet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elm-leaflet

This is an example showing how integrate Leaflet via Elm's ports.

Demo

https://pointbar.github.io/elm-leaflet/

Goal

  • Display an html town's list from Elm's data

  • Display an OSM map by town

  • Place some markers for each town

  • Change map by clicking on town's list

  • All data are stored in Elm's records

Transpile JS to Elm

$ elm-make App.elm --output build/elm-Leaflet.js

Explanation

About

This is an example showing how integrate Leaflet via Elm's ports.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published