Skip to content

Commit 1ad6a9a

Browse files
author
Andy Townsend
committed
Show private parking (car, bicycle, motorcycle) with lower opacity.
1 parent 068c8ac commit 1ad6a9a

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

resources/changelog_svwd01.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Changes made to the [SVWD01 web display style](https://github.com/SomeoneElseOSM/SomeoneElse-vector-web-display/blob/main/resources/README_svwd01.md).
22
See also the [changelog](https://github.com/SomeoneElseOSM/SomeoneElse-vector-web-display/blob/main/changelog.md) for the scripts here.
33

4+
## As yet unreleased
5+
Show private parking (car, bicycle, motorcycle) with lower opacity.
6+
47
## 23/12/2024
58
Change the "raster" button on the vector map so that it browses the raster map at the location that the vector map was showing.
69
Don't show the dashes around nature reserves at low zooms; do show a green fill like national parks.

resources/svwd01_style.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9602,6 +9602,7 @@
96029602
"amenity_parking_pay",
96039603
"amenity_parking_freedisabled",
96049604
"amenity_parking_paydisabled" ],
9605+
[ "!=", "access", "no" ],
96059606
[ "==", "$type", "Point" ] ],
96069607
"layout": {
96079608
"icon-image": "{class}",
@@ -9624,6 +9625,40 @@
96249625
"text-halo-width": 1
96259626
}
96269627
},
9628+
{
9629+
"id": "land1-various-lightblue-imagenameoverlapcentroidprivate-16",
9630+
"type": "symbol",
9631+
"source": "someoneelse",
9632+
"source-layer": "land1",
9633+
"minzoom": 16,
9634+
"filter": [ "all", [ "in", "class", "amenity_parking",
9635+
"amenity_parking_pay",
9636+
"amenity_parking_freedisabled",
9637+
"amenity_parking_paydisabled" ],
9638+
[ "==", "access", "no" ],
9639+
[ "==", "$type", "Point" ] ],
9640+
"layout": {
9641+
"icon-image": "{class}",
9642+
"icon-allow-overlap": true,
9643+
"text-anchor": "top",
9644+
"text-field": "{name}\n",
9645+
"text-font": [
9646+
"KlokanTech Noto Sans Regular"
9647+
],
9648+
"text-max-width": 14,
9649+
"text-offset": [ 0, 0.6 ],
9650+
"text-padding": 2,
9651+
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
9652+
"visibility": "visible"
9653+
},
9654+
"paint": {
9655+
"text-color": "#0066ff",
9656+
"text-halo-blur": 0.5,
9657+
"text-halo-color": "#ffffff",
9658+
"text-halo-width": 1,
9659+
"icon-opacity": 0.33
9660+
}
9661+
},
96279662
{
96289663
"id": "land1-various-lightblue-imagename-16",
96299664
"type": "symbol",

0 commit comments

Comments
 (0)