An elm library for interactive maps.
It's very simple to get create a map with this library
import Maps
import Html exposing (program)
main = program
{ init = (Maps.defaultModel, Cmd.none)
, subscriptions = Maps.subscriptions
, update = Maps.update
, view = Maps.view
}
Its a bit trickier when we try and merge events and state with other programs. See the following examples:
- Map | source code | live
- Fullscreen Map | source code | live
- Map Markers | source code | live
- Custom Markers | source code | live
- Geocode Search | source code | live
- Gecode Search Markers | source code | live
See the Elm docs for this library.