Themes: tweak zoomlevels

This commit is contained in:
Pieter Vander Vennet 2023-11-18 23:23:37 +01:00
parent 637cebefc7
commit 303d3a0337
4 changed files with 23 additions and 12 deletions

View file

@ -372,7 +372,7 @@
"mappings": [ "mappings": [
{ {
"if": "mapcomplete-show_crosshair=yes", "if": "mapcomplete-show_crosshair=yes",
"then": "Show a crosshair in the center of the map (when zoomed in above level 17)" "then": "Show a crosshair in the center of the map when zoomed in above level 17"
}, },
{ {
"if": "mapcomplete-show_crosshair=no", "if": "mapcomplete-show_crosshair=no",
@ -382,6 +382,10 @@
"if": "mapcomplete-show_crosshair=", "if": "mapcomplete-show_crosshair=",
"then": "Do not show a crosshair in the center of the map", "then": "Do not show a crosshair in the center of the map",
"hideInAnswer": true "hideInAnswer": true
},
{
"if": "mapcomplete-show_crosshair=always",
"then": "Always show a crosshair in the center of the map"
} }
] ]
}, },

View file

@ -84,7 +84,7 @@
"eu": "Akanpatzeko tokiak", "eu": "Akanpatzeko tokiak",
"pl": "Miejsca kamperowe" "pl": "Miejsca kamperowe"
}, },
"minzoom": 10, "minzoom": 7,
"source": { "source": {
"osmTags": { "osmTags": {
"and": [ "and": [
@ -967,7 +967,7 @@
"es": "Estaciones sanitarias", "es": "Estaciones sanitarias",
"pl": "Stacje zrzutów sanitarnych" "pl": "Stacje zrzutów sanitarnych"
}, },
"minzoom": 10, "minzoom": 7,
"source": { "source": {
"osmTags": { "osmTags": {
"and": [ "and": [

View file

@ -40,8 +40,20 @@
"Originally created during Open Summer of Code by Pieter Fiers, Thibault Declercq, Pierre Barban, Joost Schouppe and Pieter Vander Vennet" "Originally created during Open Summer of Code by Pieter Fiers, Thibault Declercq, Pierre Barban, Joost Schouppe and Pieter Vander Vennet"
], ],
"layers": [ "layers": [
"bike_cafe", {
"bike_shop", "builtin": [
"bike_cafe",
"bike_shop",
"bike_repair_station",
"bicycle_tube_vending_machine",
"drinking_water",
"bike_themed_object",
"bike_cleaning"
],
"override": {
"minzoom": 11
}
},
{ {
"builtin": [ "builtin": [
"bicycle_rental" "bicycle_rental"
@ -54,7 +66,7 @@
{ {
"marker": [ "marker": [
{ {
"icon":"pin", "icon": "pin",
"color": "#ba2792" "color": "#ba2792"
}, },
{ {
@ -110,11 +122,6 @@
"minzoom": 13 "minzoom": 13
} }
}, },
"bike_repair_station",
"bicycle_tube_vending_machine",
"drinking_water",
"bike_themed_object",
"bike_cleaning",
"bike_parking", "bike_parking",
{ {
"builtin": [ "builtin": [

View file

@ -785,7 +785,7 @@
} }
], ],
"overrideAll": { "overrideAll": {
"minzoom": 18 "minzoom": 17
}, },
"widenFactor": 2, "widenFactor": 2,
"overpassMaxZoom": 15, "overpassMaxZoom": 15,