diff options
Diffstat (limited to 'src/Mapbox/Helpers.elm')
-rw-r--r-- | src/Mapbox/Helpers.elm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Mapbox/Helpers.elm b/src/Mapbox/Helpers.elm index f2072aa..ed66d37 100644 --- a/src/Mapbox/Helpers.elm +++ b/src/Mapbox/Helpers.elm @@ -12,3 +12,7 @@ encodeAnchor v = Map -> Encode.string "map" + + +encodePair encoder ( a, b ) = + Encode.list [ encoder a, encoder b ] |