jackhp95/elm-mapbox - version: 2.0.0

for more information visit the package's GitHub page

Package contains the following modules:

Elm Maps

An elm library for interactive maps.

Examples

It's very simple to get create a map with this library

    import Browser
    import Maps

    main = Browser.element
        { 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:

Documentation

See the Elm docs for this library.