Hide docking_station bicycle rentals on lower zoom to prevent them flooding the map
This commit is contained in:
parent
dd647715a8
commit
86351f30f4
3 changed files with 38 additions and 7 deletions
|
@ -2,7 +2,7 @@ import {Utils} from "../Utils";
|
||||||
|
|
||||||
export default class Constants {
|
export default class Constants {
|
||||||
|
|
||||||
public static vNumber = "0.16.3";
|
public static vNumber = "0.16.4";
|
||||||
|
|
||||||
public static ImgurApiKey = '7070e7167f0a25a'
|
public static ImgurApiKey = '7070e7167f0a25a'
|
||||||
public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85"
|
public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85"
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
},
|
},
|
||||||
"source": {
|
"source": {
|
||||||
"osmTags": {
|
"osmTags": {
|
||||||
|
"and": [
|
||||||
|
{
|
||||||
"or": [
|
"or": [
|
||||||
"amenity=bicycle_rental",
|
"amenity=bicycle_rental",
|
||||||
"bicycle_rental~*",
|
"bicycle_rental~*",
|
||||||
|
@ -13,6 +15,8 @@
|
||||||
"rental~.*bicycle.*"
|
"rental~.*bicycle.*"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"minzoom": 12,
|
"minzoom": 12,
|
||||||
"title": {
|
"title": {
|
||||||
|
|
|
@ -203,7 +203,34 @@
|
||||||
"bike_repair_station-valves"
|
"bike_repair_station-valves"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"bicycle_rental",
|
{
|
||||||
|
"builtin": [
|
||||||
|
"bicycle_rental"
|
||||||
|
],
|
||||||
|
"override": {
|
||||||
|
"id": "charging_station_non_docking",
|
||||||
|
"minzoom": 14,
|
||||||
|
"source": {
|
||||||
|
"osmTags": {
|
||||||
|
"and+": [
|
||||||
|
"bicycle_rental!=docking_station"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"#": "All bicycle rental at a high zoom level, to avoid duplicates",
|
||||||
|
"builtin": "bicycle_rental",
|
||||||
|
"override": {
|
||||||
|
"name": null,
|
||||||
|
"filter": {
|
||||||
|
"sameAs": "charging_station_non_docking"
|
||||||
|
},
|
||||||
|
"minzoom": 18
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"builtin": "playground",
|
"builtin": "playground",
|
||||||
"override": {
|
"override": {
|
||||||
|
|
Loading…
Reference in a new issue