Closed nvkelso closed 8 years ago
This is mostly kinda working already (without any changes), but maybe polish is needed?
Mostly done?
not-outdoor-not-landuse:
filter: { area: false, not: { kind: [park, national_park, outdoor, bbq, bicycle_repair_station, dive_centre, life_ring, picnic_table, shower, waste_disposal, watering_place, water_point, lifeguard_tower, power_pole, power_tower, petroleum_well, ranger_station, caravan_site, picnic_table, picnic_site, bbq, dog_park, firepit , swimming_area, fishing_area, slipway, shower, bicycle_junction, walking_junction, waterfall, summer_camp, dam, battlefield, boat_storage] } }
draw:
icons:
order: 45
visible: function() { if( $zoom <= 16 ) { return false; } else { if( feature.min_zoom <= $zoom ) { return true; } else { return false; } } }
text-blend-order:
order: 46
visible: function() { if( $zoom <= 16 ) { return false; } else { if( feature.min_zoom <= $zoom ) { return true; } else { return false; } } }
Expanded this section:
outdoor-has-icons:
filter: { kind: [outdoor, lighthouse, peak, saddle, picnic_area, camp_site, ski, mine, zoo, museum, gas, gas_canister] }
draw:
icons:
order: 41
visible: function() { if( feature.min_zoom <= $zoom ) { return true; } else { return false; } }
text-blend-order:
order: 42
The following often appear on outdoor maps and are probably included in our current base maps, but at later zooms. For the outdoor style, let's relax visibility rules to show these as soon as they are visible in tiles (remove early zoom filters).
lighthouse
peak
airport
saddle
(aka "mountain pass", OSM tagging funk)picnic_area
camp_site
aka "campground"ski area
mine
zoo
museum
park
gate
phone
water
gas