From 81cf2eeed11a8937c671d47116cfb1cf5e779262 Mon Sep 17 00:00:00 2001 From: Lukas Martinelli Date: Tue, 10 Jan 2017 17:31:21 +0100 Subject: [PATCH] Adjust icon fields --- index.html | 2 +- style.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index a74715c..7d264d5 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,7 @@ zoom: 5, hash: true }); - map.addControl(new mapboxgl.Navigation()); + map.addControl(new mapboxgl.NavigationControl()); diff --git a/style.json b/style.json index de0c2cf..19530db 100644 --- a/style.json +++ b/style.json @@ -3367,7 +3367,7 @@ } }, { - "id": "road_label_highway_shield", + "id": "road_shield", "type": "symbol", "metadata": {}, "source": "openmaptiles", @@ -3382,7 +3382,7 @@ ] ], "layout": { - "icon-image": "default-{ref_length}", + "icon-image": "default_{ref_length}", "icon-rotation-alignment": "viewport", "symbol-placement": { "base": 1, @@ -3517,7 +3517,7 @@ "stops": [ [ 0, - "dot-9" + "dot_9" ], [ 8, @@ -3576,7 +3576,7 @@ "stops": [ [ 0, - "dot-9" + "dot_9" ], [ 8,