Skip to content

Commit

Permalink
Add basic and parking amenity rendering for multipolygons
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Nov 3, 2024
1 parent 4d4eb7f commit 1b42a21
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/assets/styles/Color-round.xml
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,16 @@

<feature type="relation" tags="highway=pedestrian" widthFactor="1.0" color="ff888888" offset="0.50"/>

<feature type="relation" tags="amenity" widthFactor="1.0" iconPath="preset" labelKey="name">
<dash phase="1.0">
<interval length="2.0" />
<interval length="2.0" />
</dash>
<feature type="relation" tags="amenity=parking" color="ff99CCFF" />
<feature type="relation" tags="amenity=bicycle_parking" color="ff99CCFF" />
<feature type="relation" tags="amenity=motorcycle_parking" color="ff99CCFF" />
</feature>

<feature type="relation" tags="natural" color="ff71BE80" >
<feature type="relation" tags="natural=water" widthFactor="1.0" minVisibleZoom="10" color="ff0000ff" />
<feature type="relation" tags="natural=glacier" widthFactor="1.0" minVisibleZoom="10" color="ff368BC1" />
Expand Down
10 changes: 10 additions & 0 deletions src/main/assets/styles/No-path-patterns.xml
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,16 @@

<feature type="relation" tags="highway=pedestrian" widthFactor="1.0" color="ff888888" offset="0.50"/>

<feature type="relation" tags="amenity" widthFactor="1.0" iconPath="preset" labelKey="name">
<dash phase="1.0">
<interval length="2.0" />
<interval length="2.0" />
</dash>
<feature type="relation" tags="amenity=parking" color="ff99CCFF" />
<feature type="relation" tags="amenity=bicycle_parking" color="ff99CCFF" />
<feature type="relation" tags="amenity=motorcycle_parking" color="ff99CCFF" />
</feature>

<feature type="relation" tags="natural" color="ff71BE80" >
<feature type="relation" tags="natural=water" widthFactor="1.0" minVisibleZoom="10" color="ff0000ff" />
<feature type="relation" tags="natural=glacier" widthFactor="1.0" minVisibleZoom="10" color="ff368BC1" />
Expand Down
10 changes: 10 additions & 0 deletions src/main/assets/styles/Pen-round.xml
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,16 @@

<feature type="relation" tags="highway=pedestrian" widthFactor="1.0" color="ff888888" offset="0.50"/>

<feature type="relation" tags="amenity" widthFactor="1.0" iconPath="preset" labelKey="name">
<dash phase="1.0">
<interval length="2.0" />
<interval length="2.0" />
</dash>
<feature type="relation" tags="amenity=parking" color="ff99CCFF" />
<feature type="relation" tags="amenity=bicycle_parking" color="ff99CCFF" />
<feature type="relation" tags="amenity=motorcycle_parking" color="ff99CCFF" />
</feature>

<feature type="relation" tags="natural" color="ff71BE80" >
<feature type="relation" tags="natural=water" widthFactor="1.0" minVisibleZoom="10" color="ff0000ff" />
<feature type="relation" tags="natural=glacier" widthFactor="1.0" minVisibleZoom="10" color="ff368BC1" />
Expand Down

0 comments on commit 1b42a21

Please sign in to comment.