aboutsummaryrefslogtreecommitdiffstats
path: root/src/Mapbox/Helpers.elm
diff options
context:
space:
mode:
authorJakub Hampl <kopomir@gmail.com>2018-08-24 12:29:25 +0100
committerJakub Hampl <kopomir@gmail.com>2018-08-24 12:29:25 +0100
commit2e9381479d484d383238493306421327623bc4a2 (patch)
tree56a58d4501f0618b1b4fa1164e909e06e0df3daf /src/Mapbox/Helpers.elm
parentaf8b5c077da700236667ccb3cdcd736774dd9e3b (diff)
v0.48 compatibility, docs improvements, polish
Diffstat (limited to 'src/Mapbox/Helpers.elm')
-rw-r--r--src/Mapbox/Helpers.elm11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/Mapbox/Helpers.elm b/src/Mapbox/Helpers.elm
index 0f164ac..9f70b3e 100644
--- a/src/Mapbox/Helpers.elm
+++ b/src/Mapbox/Helpers.elm
@@ -1,17 +1,6 @@
module Mapbox.Helpers exposing (..)
import Json.Encode as Encode exposing (Value)
-import Mapbox.Expression exposing (Anchor(..))
-
-
-encodeAnchor : Anchor -> Value
-encodeAnchor v =
- case v of
- Viewport ->
- Encode.string "viewport"
-
- Map ->
- Encode.string "map"
encodePair encoder ( a, b ) =