Skip to content

Commit

Permalink
Add text label rendering for natural=bay mapped as linear way (#3754)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeisenbe authored and matkoniecz committed May 17, 2019
1 parent e2b8a8f commit 816f726
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -2165,7 +2165,7 @@ Layer:
CASE WHEN tunnel IN ('yes', 'culvert') THEN 'yes' ELSE 'no' END AS int_tunnel
FROM planet_osm_line
WHERE (waterway IN ('river', 'canal', 'stream', 'drain', 'ditch', 'wadi')
OR "natural" = 'strait')
OR "natural" IN ('bay', 'strait'))
AND (tunnel IS NULL or tunnel != 'culvert')
AND name IS NOT NULL
ORDER BY COALESCE(layer,0)
Expand Down
1 change: 1 addition & 0 deletions water.mss
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@
}
}
}
[natural = 'bay'][zoom >= 14],
[natural = 'strait'][zoom >= 14] {
text-name: "[name]";
text-size: 10;
Expand Down

0 comments on commit 816f726

Please sign in to comment.