billstclair/elm-geolocation - version: 1.1.0

for more information visit the package's GitHub page

Package contains the following modules:

Geolocation in Elm

Your client code is running on someone's device somewhere in the world. This library helps you find out where that device happens to be. If you are lucky, it may even tell you how fast the device is moving!

It is based on the JavaScript Geolocation API. You can read about how to use libraries with tasks and subscriptions in guide.elm-lang.org, particularly the section on The Elm Architecture.

This is a conversion of the Elm 0.18 elm-lang/geolocation package. That package used native code and an effect module, which user code is not allowed to do, so I converted it to use ports, shared with other clients of billstclair/elm-port-funnel.

See the README in the example directory for instructions on running the example.

The example is live at billstclair.github.io/elm-geolocation.

Bill St. Clair, 22 September 2018