Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add healthcare=laboratory #4402

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions project.mml
Expand Up @@ -1491,6 +1491,7 @@ Layer:
'post_office', 'prison', 'pub', 'public_bath', 'public_bookcase', 'recycling', 'restaurant', 'school',
'shelter', 'shower', 'social_facility', 'taxi', 'telephone', 'theatre', 'toilets', 'townhall',
'university', 'vehicle_inspection', 'veterinary') THEN amenity END,
'healthcare_' || CASE WHEN tags->'healthcare' IN ('laboratory') THEN tags->'healthcare' END,
'amenity_' || CASE WHEN amenity IN ('waste_disposal') AND way_area IS NOT NULL THEN amenity END, -- Waste disposal points are rendered in the low priority layer
'amenity_' || CASE WHEN amenity IN ('vending_machine') AND tags->'vending' IN ('excrement_bags', 'parking_tickets', 'public_transport_tickets') THEN amenity END,
'diplomatic_'|| CASE WHEN tags->'office' IN ('diplomatic') AND tags->'diplomatic' IN ('embassy', 'consulate') THEN tags->'diplomatic' ELSE NULL END,
Expand Down
12 changes: 12 additions & 0 deletions style/amenity-points.mss
Expand Up @@ -605,6 +605,18 @@
marker-clip: false;
}

[feature = 'healthcare_laboratory'][zoom >= 17] {
[zoom >= 17][zoom < 18] {
marker-width: 4;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not currently use any dots in this color. I do not think it will be intuitive

marker-line-width: 0;
}
[zoom >= 18] {
marker-file: url('symbols/amenity/laboratory.svg');
}
marker-fill: @health-color;
marker-clip: false;
}

[feature = 'amenity_place_of_worship'][zoom >= 16] {
marker-file: url('symbols/amenity/place_of_worship.svg');
marker-fill: @religious-icon;
Expand Down
16 changes: 16 additions & 0 deletions symbols/amenity/laboratory.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.