From e7947aef7cfa6c9cb447d4532245c534857487a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Dietrich?= Date: Thu, 12 Sep 2019 19:33:41 +0200 Subject: a little comment --- src/Mapbox/Style.elm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/Mapbox/Style.elm') 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 -- cgit v1.2.3