summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-02-11 15:51:54 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-02-11 15:51:54 +0100
commitbec0ad10c4b460941d08cca597bf352c96820d34 (patch)
tree39fd506db5deeeedc8aebc51b124e6a68ddd7de4 /bin
parenteb9a6b7068b9910301bfc7a3b83e114c7545c893 (diff)
downloadqtlocation-mapboxgl-bec0ad10c4b460941d08cca597bf352c96820d34.tar.gz
drawing lines with triangles
Diffstat (limited to 'bin')
-rwxr-xr-xbin/convert-style.js2
-rw-r--r--bin/style.js6
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/convert-style.js b/bin/convert-style.js
index da9a95a428..2f21d6a8bf 100755
--- a/bin/convert-style.js
+++ b/bin/convert-style.js
@@ -25,7 +25,7 @@ var cap_type = {
// enum
var join_type = {
- butt: 1,
+ miter: 1,
bevel: 2,
round: 3
};
diff --git a/bin/style.js b/bin/style.js
index 4099b420d4..1596e30a67 100644
--- a/bin/style.js
+++ b/bin/style.js
@@ -10,17 +10,17 @@ module.exports = {
"road_large": {
"datasource": "streets",
"layer": "road", "field": "class", "value": ["motorway", "main"],
- "type": "line", "cap": "round", "join": "bevel"
+ "type": "line", "cap": "round", "join": "round"
},
"road_regular": {
"datasource": "streets",
"layer": "road", "field": "class", "value": "street",
- "type": "line", "cap": "round", "join": "bevel"
+ "type": "line", "cap": "round", "join": "round"
},
"road_limited": {
"datasource": "streets",
"layer": "road", "field": "class", "value": "street_limited",
- "type": "line", "cap": "round", "join": "bevel"
+ "type": "line", "cap": "round", "join": "round"
},
"park": {
"datasource": "streets",