aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Dietrich <andre.dietrich@ovgu.de>2019-09-12 19:33:41 +0200
committerAndré Dietrich <andre.dietrich@ovgu.de>2019-09-12 19:33:41 +0200
commite7947aef7cfa6c9cb447d4532245c534857487a2 (patch)
treefb8de0ed33a0dd0455668e56c9a596524895d7fe
parent83572c1cd013c7e2752d6f9e9cb3873b4ab53463 (diff)
a little comment1.0.0
-rw-r--r--elm.json2
-rw-r--r--src/Mapbox/Style.elm7
2 files changed, 8 insertions, 1 deletions
diff --git a/elm.json b/elm.json
index 5e22612..de2fd7b 100644
--- a/elm.json
+++ b/elm.json
@@ -1,6 +1,6 @@
{
"type": "package",
- "name": "gampleman/elm-mapbox",
+ "name": "andre-dietrich/elm-mapbox",
"summary": "Fork form gampleman/elm-mapbox (4.1.0) ... An advanced mapping library",
"license": "MIT",
"version": "1.0.0",
diff --git a/src/Mapbox/Style.elm b/src/Mapbox/Style.elm
index 20a91c1..8d1f12e 100644
--- a/src/Mapbox/Style.elm
+++ b/src/Mapbox/Style.elm
@@ -156,6 +156,13 @@ type alias StyleDef =
}
+{-| A simple record to be used, when a style is read from a json file.
+
+use `decodeMiscDef json` to read out default values, you can reset them by
+setting them to `Nothing` use afterwards `miscDefToList` to generate a misc-list
+to be used in your StyleDef.
+
+-}
type alias MiscDef =
{ sprite : Maybe MiscAttr
, glyphs : Maybe MiscAttr