andreynovikov / trekarta

Simple, responsive map for your trek. You decide how to journey today, not the application!
https://trekarta.info
GNU General Public License v3.0
178 stars 25 forks source link

Tracks with stipple at zoom 13 #156

Open hungerburg opened 3 years ago

hungerburg commented 3 years ago

Tracks with stipple (from smoothness) get invisible at zoom 13, those with no stipple still show; eg https://www.openstreetmap.org/way/30247810

Quick fix, leave width alone, doing this for all grades only slightly emphasizes drawn through tracks:

app/src/main/assets/styles/inc_highways.xml
@@ -410,16 +410,16 @@
                                     </m>
                                 </m>
                                 <m k="smoothness" v="excellent|good|intermediate|bad">
-                                    <line use="highway:track:good" width="-0.8" />
+                                    <line use="highway:track:good" />
                                 </m>
                                 <m k="smoothness" v="~|very_bad|horrible">
-                                    <line use="highway:track:horrible" width="-0.8" />
+                                    <line use="highway:track:horrible" />
                                 </m>
                                 <m k="smoothness" v="very_horrible">
-                                    <line use="highway:track:very_horrible" width="-0.8" />
+                                    <line use="highway:track:very_horrible" />
                                 </m>
                                 <m k="smoothness" v="impassable">
-                                    <line use="highway:track:impassable" width="-0.8" />
+                                    <line use="highway:track:impassable" />
                                 </m>
                             </m>
                             <m zoom-min="14">

UPDATE: add pictures made for this - before - after Screenshot_1619428209 - Screenshot_1619428245