diff options
Diffstat (limited to 'src/Mapbox/Style.elm')
-rw-r--r-- | src/Mapbox/Style.elm | 7 |
1 files changed, 7 insertions, 0 deletions
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 |