Skip to content

Commit

Permalink
Don't show water access points for other travel modes
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Dec 30, 2024
1 parent f2df5dc commit 6584b25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/mapController.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,8 @@ function trailPoisFilter(travelMode) {
"!", [
"any",
["==", ["get", "natural"], "beaver_dam"],
["in", ["get", "waterway"], ["literal", ["dam", "weir"]]],
["==", ["get", "leisure"], "slipway"],
["in", ["get", "waterway"], ["literal", ["dam", "weir", "access_point"]]],
["==", ["get", "lock"], "yes"],
["==", ["get", "man_made"], "monitoring_station"],
]
Expand Down

0 comments on commit 6584b25

Please sign in to comment.