/elm-maps

An elm library for interactive maps.

Primary LanguageElm

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.