diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-03-12 13:26:24 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-03-12 13:26:24 +0100 |
commit | 277bc1586df293eff7c042533819efad48054a58 (patch) | |
tree | 7836322d426e6e4f313aefdb09f053f8bcedfc6b /bin | |
parent | 207358b5989e1c33103b85d1cbbbc83093f27995 (diff) | |
download | qtlocation-mapboxgl-277bc1586df293eff7c042533819efad48054a58.tar.gz |
add constants and move style parser to its own class
Diffstat (limited to 'bin')
-rw-r--r-- | bin/style.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/style.js b/bin/style.js index 876212ad5e..a50ca7bba9 100644 --- a/bin/style.js +++ b/bin/style.js @@ -89,6 +89,9 @@ module.exports = { }, }, "sprite": "img/maki-sprite", + "constants": { + "park": "#c8df9f", + }, "structure": [ { "name": "park", "bucket": "park" }, { "name": "wood", "bucket": "wood" }, @@ -113,7 +116,7 @@ module.exports = { }, "park": { "type": "fill", - "color": "#c8df9f", + "color": "park", "antialias": true, "image": "park" }, |