Skip to content

Commit

Permalink
Render vaccination_centres.
Browse files Browse the repository at this point in the history
  • Loading branch information
StyXman committed Jan 27, 2021
1 parent faead20 commit d13ed55
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -1535,6 +1535,7 @@ Layer:
AND way_area IS NULL
THEN amenity END,
'tourism_' || CASE WHEN tourism IN ('viewpoint', 'attraction') THEN tourism END,
'healthcare_' || CASE WHEN tags->'healthcare' in ('vaccination_centre') then tags->'healthcare' END,
'place_' || CASE WHEN place IN ('locality') AND way_area IS NULL THEN place END
) AS feature,
access,
Expand Down
7 changes: 7 additions & 0 deletions style/amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,13 @@
marker-clip: false;
}

[feature = 'healthcare_vaccination_centre'][zoom >= 15] {
marker-file: url('symbols/amenity/hospital.svg');
marker-width: 10;
marker-fill: @health-color;
marker-clip: false;
}

[feature = 'amenity_pharmacy'][zoom >= 17] {
marker-file: url('symbols/amenity/pharmacy.svg');
marker-fill: @health-color;
Expand Down

0 comments on commit d13ed55

Please sign in to comment.