diff options
author | Markus Koch <markus@notsyncing.net> | 2020-04-20 18:39:48 +0200 |
---|---|---|
committer | Markus Koch <markus@notsyncing.net> | 2020-04-20 18:39:48 +0200 |
commit | cfeafc11d9b31d692730feb1813f72136756afb3 (patch) | |
tree | 76ff43ea398d14664306160f537d8abb7d784834 /htdocs/leafletjs | |
parent | 26972c366e08a3046f7ddefa8f9b0e1aa46ad717 (diff) | |
download | lifomapserver-cfeafc11d9b31d692730feb1813f72136756afb3.tar.gz lifomapserver-cfeafc11d9b31d692730feb1813f72136756afb3.tar.bz2 lifomapserver-cfeafc11d9b31d692730feb1813f72136756afb3.zip |
Update street width depending on zoom level
Diffstat (limited to 'htdocs/leafletjs')
-rw-r--r-- | htdocs/leafletjs/Leaflet.streetlabels.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/leafletjs/Leaflet.streetlabels.js b/htdocs/leafletjs/Leaflet.streetlabels.js index 724c585..91bd596 100644 --- a/htdocs/leafletjs/Leaflet.streetlabels.js +++ b/htdocs/leafletjs/Leaflet.streetlabels.js @@ -130,7 +130,7 @@ L.StreetLabels = L.LabelTextCollision if (layer._parts) { ctx.textAlign = "center"; ctx.textBaseline = "middle"; - ctx.lineWidth = 3; + //ctx.lineWidth = 3; layer._parts.forEach(function (part) { //Build the points list for the first part var pathPoints = []; |