Merge branch 'develop' into feature/studio

This commit is contained in:
Pieter Vander Vennet 2023-06-20 01:52:29 +02:00
commit d9417f4937
135 changed files with 242 additions and 356 deletions

View file

@ -53,7 +53,7 @@ The Graphical User Interface is composed of various UI-elements. For every UI-el
There are some basic elements, such as:
- `FixedUIElement` which shows a fixed, unchangeble element
- `FixedUIElement` which shows a fixed, unchangeable element
- `Img` to show an image
- `Combine` which wraps everything given (strings and other elements) in a div
- `List`

View file

@ -34,6 +34,25 @@ export class UpdateLegacyLayer extends DesugaringStep<
delete config["overpassTags"]
}
for (const preset of config.presets ?? []) {
const preciseInput = preset["preciseInput"]
if (typeof preciseInput === "boolean") {
delete preset["preciseInput"]
} else if (preciseInput !== undefined) {
delete preciseInput["preferredBackground"]
console.log("Precise input:", preciseInput)
preset.snapToLayer = preciseInput.snapToLayer
delete preciseInput.snapToLayer
if (preciseInput.maxSnapDistance) {
preset.maxSnapDistance = preciseInput.maxSnapDistance
delete preciseInput.maxSnapDistance
}
if (Object.keys(preciseInput).length == 0) {
delete preset["preciseInput"]
}
}
}
if (config.tagRenderings !== undefined) {
let i = 0
for (const tagRendering of config.tagRenderings) {

View file

@ -282,36 +282,16 @@ export interface LayerConfigJson {
exampleImages?: string[]
/**
* If set, the user will prompted to confirm the location before actually adding the data.
* This will be with a 'drag crosshair'-method.
*
* If 'preferredBackgroundCategory' is set, the element will attempt to pick a background layer of that category.
* If specified, these layers will be shown to and the new point will be snapped towards it
*/
preciseInput?:
| true
| {
/**
* The type of background picture
*/
preferredBackground?:
| "osmbasedmap"
| "photo"
| "historicphoto"
| "map"
| string
| string[]
/**
* If specified, these layers will be shown to and the new point will be snapped towards it
*/
snapToLayer?: string | string[]
/**
* If specified, a new point will only be snapped if it is within this range.
* Distance in meter
*
* Default: 10
*/
maxSnapDistance?: number
}
snapToLayer?: string | string[]
/**
* If specified, a new point will only be snapped if it is within this range.
* Distance in meter
*
* Default: 10
*/
maxSnapDistance?: number
}[]
/**

View file

@ -234,37 +234,27 @@ export default class LayerConfig extends WithContextLoader {
snapToLayers: undefined,
maxSnapDistance: undefined,
}
if (pr.preciseInput !== undefined) {
if (pr.preciseInput === true) {
pr.preciseInput = {
preferredBackground: undefined,
}
}
if (pr["preciseInput"] !== undefined) {
throw "Layer " + this.id + " still uses the old 'preciseInput'-field"
}
if (pr.snapToLayer !== undefined) {
let snapToLayers: string[]
if (typeof pr.preciseInput.snapToLayer === "string") {
snapToLayers = [pr.preciseInput.snapToLayer]
if (typeof pr.snapToLayer === "string") {
snapToLayers = [pr.snapToLayer]
} else {
snapToLayers = pr.preciseInput.snapToLayer
snapToLayers = pr.snapToLayer
}
let preferredBackground: (
| "map"
| "photo"
| "osmbasedmap"
| "historicphoto"
| string
)[]
if (typeof pr.preciseInput.preferredBackground === "string") {
preferredBackground = [pr.preciseInput.preferredBackground]
} else {
preferredBackground = pr.preciseInput.preferredBackground
}
preciseInput = {
preferredBackground,
snapToLayers,
maxSnapDistance: pr.preciseInput.maxSnapDistance ?? 10,
maxSnapDistance: pr.maxSnapDistance ?? 10,
}
} else if (pr.maxSnapDistance !== undefined) {
throw (
"Layer " +
this.id +
" defines a maxSnapDistance, but does not include a `snapToLayer`"
)
}
const config: PresetConfig = {

View file

@ -50,12 +50,13 @@
on:mousemove={(e) => {
if (isDown) {
onPosChange(e.clientX, e.clientY)
e.preventDefault()
}
}}
on:mouseup={() => {
isDown = false
}}
on:touchmove={(e) => onPosChange(e.touches[0].clientX, e.touches[0].clientY)}
on:touchmove={(e) =>{ onPosChange(e.touches[0].clientX, e.touches[0].clientY); e.preventDefault() }}
on:touchstart={(e) => onPosChange(e.touches[0].clientX, e.touches[0].clientY)}
>
<div class="absolute top-0 left-0 h-full w-full cursor-pointer">

View file

@ -83,7 +83,7 @@
<div class="min-h-32 relative h-full cursor-pointer overflow-hidden">
<div class="absolute top-0 left-0 h-full w-full cursor-pointer">
<MaplibreMap {map} />
<MaplibreMap center={({lng: initialCoordinate.lon, lat: initialCoordinate.lat})}} {map} />
</div>
<div

View file

@ -7,8 +7,9 @@
import { onMount } from "svelte"
import { Map } from "@onsvisual/svelte-maps"
import type { Map as MaplibreMap } from "maplibre-gl"
import type { Writable } from "svelte/store"
import type {Readable, Writable} from "svelte/store"
import { AvailableRasterLayers } from "../../Models/RasterLayers"
import {writable} from "svelte/store";
/**
* Beware: this map will _only_ be set by this component
@ -17,7 +18,7 @@
export let map: Writable<MaplibreMap>
export let attribution = false
let center = {}
export let center: Readable<{ lng: number ,lat : number }> = writable({lng: 0, lat: 0})
onMount(() => {
$map.on("load", function () {

View file

@ -17,7 +17,7 @@ import SvelteUIElement from "./Base/SvelteUIElement"
import Filterview from "./BigComponents/Filterview.svelte"
import FilteredLayer from "../Models/FilteredLayer"
class StatisticsForOverviewFile extends Combine {
class StatsticsForOverviewFile extends Combine {
constructor(homeUrl: string, paths: string[]) {
paths = paths.filter((p) => !p.endsWith("file-overview.json"))
const layer = new LayoutConfig(<any>mcChanges, true).layers[0]
@ -177,7 +177,7 @@ class StatisticsForOverviewFile extends Combine {
}
}
export default class StatisticsGUI extends VariableUiElement {
class StatisticsGUI extends VariableUiElement {
private static readonly homeUrl =
"https://raw.githubusercontent.com/pietervdvn/MapComplete-data/main/changeset-metadata/"
private static readonly stats_files = "file-overview.json"
@ -192,7 +192,7 @@ export default class StatisticsGUI extends VariableUiElement {
return new Loading("Loading overview...")
}
return new StatisticsForOverviewFile(StatisticsGUI.homeUrl, paths)
return new StatsticsForOverviewFile(StatisticsGUI.homeUrl, paths)
})
)
this.SetClass("block w-full h-full")

View file

@ -1059,9 +1059,7 @@
"cs": "plakátovací skříň připevněná na stěnu",
"pt": "uma caixa de pôster montada em uma parede"
},
"preciseInput": {
"snapToLayer": "walls_and_buildings"
}
"snapToLayer": "walls_and_buildings"
},
{
"tags": [
@ -1175,16 +1173,13 @@
"fr": "un écran fixé au mur",
"pt": "uma tela montada em uma parede"
},
"preciseInput": {
"preferredBackground": "map",
"snapToLayer": "walls_and_buildings",
"maxSnapDistance": 5
},
"exampleImages": [
"./assets/themes/advertising/Subway_screen.jpg",
"./assets/themes/advertising/TV_media.jpg",
"./assets/themes/advertising/Times square.jpg"
]
],
"snapToLayer": "walls_and_buildings",
"maxSnapDistance": 5
},
{
"tags": [
@ -1209,15 +1204,12 @@
"nl": "Een stuk groot, weerbestendig textiel met opgedrukte reclameboodschap die permanent aan de muur hangt",
"pt": "Uma peça de tecido impermeável com uma mensagem impressa, permanentemente ancorada na parede"
},
"preciseInput": {
"preferredBackground": "map",
"snapToLayer": "walls_and_buildings",
"maxSnapDistance": 5
},
"exampleImages": [
"./assets/themes/advertising/tarp_feder.jpg",
"./assets/themes/advertising/tarp_madrid.jpg"
]
],
"snapToLayer": "walls_and_buildings",
"maxSnapDistance": 5
},
{
"tags": [
@ -1252,11 +1244,6 @@
"pt": "um sinal",
"pt_BR": "uma placa"
},
"preciseInput": {
"preferredBackground": "map",
"snapToLayer": "walls_and_buildings",
"maxSnapDistance": 5
},
"description": {
"en": "Used for advertising signs, neon signs, logos & institutional entrance signs",
"es": "Se utiliza para carteles publicitarios, letreros de neón, logotipos y carteles en entradas institucionales",
@ -1270,7 +1257,9 @@
"./assets/themes/advertising/Waitrose_sign.jpg",
"./assets/themes/advertising/sign_EOI.jpg",
"./assets/themes/advertising/farma_sign.jpg"
]
],
"snapToLayer": "walls_and_buildings",
"maxSnapDistance": 5
},
{
"tags": [
@ -1304,15 +1293,12 @@
"fr": "une peinture murale",
"pt": "uma pintura de parede"
},
"preciseInput": {
"preferredBackground": "map",
"snapToLayer": "walls_and_buildings",
"maxSnapDistance": 5
},
"exampleImages": [
"./assets/themes/advertising/Capitol_wall.jpg",
"./assets/themes/advertising/clarke_wall.jpg"
]
],
"snapToLayer": "walls_and_buildings",
"maxSnapDistance": 5
}
]
}

View file

@ -381,4 +381,4 @@
}
}
]
}
}

View file

@ -139,9 +139,7 @@
"cs": "umělecké dílo na zdi",
"es": "Una obra de arte en la pared"
},
"preciseInput": {
"snapToLayer": "walls_and_buildings"
}
"snapToLayer": "walls_and_buildings"
}
],
"calculatedTags": [

View file

@ -102,4 +102,4 @@
]
}
]
}
}

View file

@ -108,13 +108,8 @@
"nb_NO": "En pullert i veien",
"ca": "Un bol·lard a la carretera"
},
"preciseInput": {
"preferredBackground": [
"photo"
],
"snapToLayer": "cycleways_and_roads",
"maxSnapDistance": 25
}
"snapToLayer": "cycleways_and_roads",
"maxSnapDistance": 25
},
{
"title": {
@ -144,13 +139,8 @@
"nb_NO": "Sykkelbarrièrer, for å dempe farten",
"ca": "Una barrera ciclista que relanteix als ciclistes"
},
"preciseInput": {
"preferredBackground": [
"photo"
],
"snapToLayer": "cycleways_and_roads",
"maxSnapDistance": 25
}
"snapToLayer": "cycleways_and_roads",
"maxSnapDistance": 25
}
],
"tagRenderings": [
@ -613,4 +603,4 @@
]
}
}
}
}

View file

@ -22,7 +22,7 @@
"cs": "Lavičky",
"pa_PK": "بینچ"
},
"minzoom": 17,
"minzoom": 14,
"source": {
"osmTags": "amenity=bench"
},

View file

@ -358,4 +358,4 @@
}
],
"deletion": true
}
}

View file

@ -323,4 +323,4 @@
"cs": "Vrstva zobrazující automaty na cyklistické duše (buď speciální automaty na cyklistické duše, nebo klasické automaty s cyklistickými dušemi a případně dalšími předměty souvisejícími s jízdními koly, jako jsou světla, rukavice, zámky, ...)",
"ca": "Una capa que mostra màquines expenedores per a tubs de bicicleta (ja siguin màquines expenedores de tubs de bicicleta o màquines expenedores clàssiques amb tubs de bicicleta i opcionalment objectes addicionals relacionats amb la bicicleta com ara llums, guants, panys, ...)"
}
}
}

View file

@ -369,4 +369,4 @@
"cs": "Cyklokavárna je kavárna zaměřená na cyklisty, například se službami, jako je pumpa, se spoustou výzdoby související s jízdními koly, …",
"ca": "Un cafè ciclista és un cafè enfocat a ciclistes, per exemple, amb serveis com una manxa, amb molta decoració relacionada amb el ciclisme, …"
}
}
}

View file

@ -274,4 +274,4 @@
"cs": "Vrstva zobrazující zařízení, kde si můžete umýt kolo",
"ca": "Una capa que mostra les instal·lacions on pots netejar la teva bicicleta"
}
}
}

View file

@ -720,4 +720,4 @@
"cs": "Vrstva ukazující, kde můžete zaparkovat kolo",
"ca": "Una capa que mostra on pots aparcar la teva bicicleta"
}
}
}

View file

@ -1059,4 +1059,4 @@
"cs": "Vrstva zobrazující vzduchové kompresory na jízdní kola a stojany na nářadí pro opravu jízdních kol",
"ca": "Una capa que mostra bombes de bicicletes i suports d'eines de reparació de bicicletes"
}
}
}

View file

@ -898,4 +898,4 @@
]
}
]
}
}

View file

@ -98,4 +98,4 @@
"da": "Et lag med objekter med cykeltema, men som ikke matcher noget andet lag",
"ca": "Una capa amb els objectes relacionats amb bicis però que no coinxideixen amb cap altra capa"
}
}
}

View file

@ -133,9 +133,6 @@
"da": "Et teleskop eller en kikkert monteret på en stang, som offentligheden kan se sig omkring med. <img src='./assets/layers/binocular/binoculars_example.jpg' style='height: 300px; width: auto; display: block;' />",
"es": "Un telescopio o unos prismáticos montados en un poste, disponible para que el público mire alrededor. <img src='./assets/layers/binocular/binoculars_example.jpg' style='height: 300px; width: auto; display: block;' />",
"ca": "Un telescopi o un parell de prismàtics muntats en un pal, a disposició del públic per mirar al seu voltant. <img src='./assets/layers/binocular/binoculars_example.jpg' style='height: 300px; width: auto; display: block;' />"
},
"preciseInput": {
"preferredBackground": "photo"
}
}
],
@ -180,4 +177,4 @@
}
}
]
}
}

View file

@ -412,4 +412,4 @@
]
}
]
}
}

View file

@ -46,9 +46,6 @@
"da": "En pub, mest et sted at drikke øl i et varme, afslappede omgivelser",
"fr": "Un pub, principalement pour boire un verre dans une atmosphère chaleureuse et décontractée",
"ca": "Un bar, principalment per a beure cerveses en un interior càlid i relaxat"
},
"preciseInput": {
"preferredBackground": "map"
}
},
{
@ -74,9 +71,6 @@
"es": "Un <b>bar de copas</b> más moderno y comercial, posiblemente con una instalación de música y luz",
"fr": "Un <b>bar</b> plus moderne et commercial, avec éventuellement musique et jeux de lumière",
"ca": "Un <b>bar de copes</b> més modern i comercial, possiblement amb equipació de música i llums"
},
"preciseInput": {
"preferredBackground": "map"
}
},
{
@ -102,9 +96,6 @@
"es": "Una <b>cafetería</b> para beber té, café o una bebida alcohólica en un ambiente tranquilo",
"fr": "Un <b>café</b> pour prendre un thé, un café ou une boisson alcoolisée dans un environnement calme",
"ca": "Una <b>cafeteria</b> per a a beure té, café o una beguda alcohólica en un ambient tranquil"
},
"preciseInput": {
"preferredBackground": "map"
}
},
{
@ -128,9 +119,6 @@
"fr": "Une <b>boîte de nuit</b> ou discothèque pour danser sur de la musique de DJ accompagnée de jeux de lumière et un bar pour prendre une boisson (alcoolisée)",
"da": "En <b>natklub</b> eller diskotek med fokus på dans, musik af en DJ med tilhørende lysshow og en bar for at få (alkoholiske) drinks",
"ca": "Un <b>club nocturn</b> o discoteca centrat en ballar, música d'un DJ acompanyat d'un espectacle de llums i una barra on obtindre begudes (alcohòliques)"
},
"preciseInput": {
"preferredBackground": "map"
}
}
],
@ -369,4 +357,4 @@
"fr": "Une couche montrants les cafés et pubs où lon peut prendre un verre. Cette couche pose des questions y afférentes.",
"ca": "Una capa que mostra cafeteries i bars on un es pot reunir amb una beguda. La capa demana algunes preguntes rellevants"
}
}
}

View file

@ -121,4 +121,4 @@
"filter": [
"open_now"
]
}
}

View file

@ -4705,9 +4705,6 @@
"da": "en ladestation til elektriske cykler med et normalt europæisk vægstik <img src='./assets/layers/charging_station/typee.svg' style='width: 2rem; height: 2rem; float: left; background: white; border-radius: 1rem; margin-right: 0.5rem'/> (beregnet til opladning af elektriske cykler)",
"de": "eine Ladestation für Elektrofahrräder mit einer normalen europäischen Steckdose <img src='./assets/layers/charging_station/typee.svg' style='width: 2rem; height: 2rem; float: left; background: white; border-radius: 1rem; margin-right: 0.5rem'/> (zum Laden von Elektrofahrrädern)",
"es": "una estación de carga para bicicletas eléctricas con un enchufe de pared europeo normal <img src='./assets/layers/charging_station/typee.svg' style='width: 2rem; height: 2rem; float: left; background: white; border-radius: 1rem; margin-right: 0.5rem'/> (pensado para cargar bicicletas eléctricas)"
},
"preciseInput": {
"preferredBackground": "map"
}
},
{
@ -4723,9 +4720,6 @@
"da": "en ladestation til biler",
"de": "Eine Ladestation für Elektrofahrzeuge",
"es": "una estación de carga para coches"
},
"preciseInput": {
"preferredBackground": "map"
}
}
],
@ -5218,4 +5212,4 @@
},
"neededChangesets": 10
}
}
}

View file

@ -416,4 +416,4 @@
}
],
"mapRendering": null
}
}

View file

@ -187,4 +187,4 @@
}
}
]
}
}

View file

@ -275,4 +275,4 @@
]
}
]
}
}

View file

@ -136,4 +136,4 @@
}
}
]
}
}

View file

@ -255,4 +255,4 @@
}
}
]
}
}

View file

@ -409,12 +409,6 @@
"nl": "Een publiekelijk zichtbare klok",
"de": "Eine öffentlich sichtbare Uhr",
"ca": "Un rellotge visible públicament"
},
"preciseInput": {
"preferredBackground": [
"photo",
"map"
]
}
},
{
@ -435,13 +429,7 @@
"ca": "Un rellotge visible públicament muntat en una paret",
"fr": "Une horloge publique fixée sur un mur"
},
"preciseInput": {
"preferredBackground": [
"photo",
"map"
],
"snapToLayer": "walls_and_buildings"
}
"snapToLayer": "walls_and_buildings"
}
],
"allowMove": true,
@ -472,4 +460,4 @@
}
}
]
}
}

View file

@ -79,4 +79,4 @@
}
}
]
}
}

View file

@ -33,4 +33,4 @@
}
}
]
}
}

View file

@ -84,13 +84,8 @@
"da": "Overgang for fodgængere og/eller cyklister",
"es": "Cruce para peatones y/o ciclistas"
},
"preciseInput": {
"preferredBackground": [
"photo"
],
"snapToLayer": "cycleways_and_roads",
"maxSnapDistance": 25
}
"snapToLayer": "cycleways_and_roads",
"maxSnapDistance": 25
},
{
"title": {
@ -113,13 +108,8 @@
"da": "Trafiksignal på en vej",
"es": "Señal de tráfico en una carretera"
},
"preciseInput": {
"preferredBackground": [
"photo"
],
"snapToLayer": "cycleways_and_roads",
"maxSnapDistance": 25
}
"snapToLayer": "cycleways_and_roads",
"maxSnapDistance": 25
}
],
"tagRenderings": [
@ -616,4 +606,4 @@
"filter": [
"tactile_paving_advanced"
]
}
}

View file

@ -1702,4 +1702,4 @@
"fr": "Toutes les infrastructures sur lesquelles quelqu'un peut rouler, accompagnées de questions sur cette infrastructure",
"ca": "Totes les infraestructures per les quals algú pot ciclar, acompanyades de preguntes sobre aquesta infraestructura"
}
}
}

View file

@ -72,11 +72,8 @@
"tags": [
"emergency=defibrillator"
],
"preciseInput": {
"preferredBackground": "map",
"snapToLayer": "walls_and_buildings",
"maxSnapDistance": 5
}
"snapToLayer": "walls_and_buildings",
"maxSnapDistance": 5
}
],
"tagRenderings": [
@ -674,4 +671,4 @@
"has_image",
"open_now"
]
}
}

View file

@ -79,4 +79,4 @@
],
"deletion": true,
"allowMove": true
}
}

View file

@ -48,4 +48,4 @@
"color": "--catch-detail-color"
}
]
}
}

View file

@ -138,4 +138,4 @@
],
"deletion": true,
"allowMove": true
}
}

View file

@ -185,4 +185,4 @@
"reviews",
"images"
]
}
}

View file

@ -266,4 +266,4 @@
]
}
]
}
}

View file

@ -453,15 +453,12 @@
"de": "einen Eingang",
"nl": "een toegang"
},
"preciseInput": {
"preferredBackground": "photo",
"snapToLayer": [
"walls_and_buildings",
"pedestrian_path"
]
},
"tags": [
"entrance=yes"
],
"snapToLayer": [
"walls_and_buildings",
"pedestrian_path"
]
},
{
@ -470,14 +467,11 @@
"de": "eine Innentür",
"nl": "een binnendeur"
},
"preciseInput": {
"preferredBackground": "map",
"snapToLayer": [
"indoors"
]
},
"tags": [
"indoor=door"
],
"snapToLayer": [
"indoors"
]
}
],
@ -520,4 +514,4 @@
]
}
]
}
}

View file

@ -307,4 +307,4 @@
}
}
]
}
}

View file

@ -167,4 +167,4 @@
]
}
]
}
}

View file

@ -175,4 +175,4 @@
]
}
]
}
}

View file

@ -317,4 +317,4 @@
}
}
]
}
}

View file

@ -105,4 +105,4 @@
"filter": [
"open_now"
]
}
}

View file

@ -414,4 +414,4 @@
"enableRelocation": false,
"enableImproveAccuracy": true
}
}
}

View file

@ -57,4 +57,4 @@
"width": 2
}
]
}
}

View file

@ -38,9 +38,6 @@
"de": "Ein klassisches Speiselokal mit Sitzgelegenheiten, in dem vollständige Mahlzeiten von Kellnern serviert werden",
"es": "Un lugar de comidas formal, con mesas y sillas y que vende comidas completas servidas por camareros",
"fr": "Un lieu de restauration formel avec des installations pour s'asseoir vendant des repas complets servis par des serveurs"
},
"preciseInput": {
"preferredBackground": "map"
}
},
{
@ -61,9 +58,6 @@
"de": "Ein Lebensmittelunternehmen, das sich auf schnellen Thekendienst und Essen zum Mitnehmen konzentriert",
"es": "Un negocio de comida centrado en servicio rápido solo en mostrador y comida para llevar",
"fr": "Une entreprise alimentaire se concentrant sur le service rapide au comptoir et les plats à emporter"
},
"preciseInput": {
"preferredBackground": "map"
}
},
{
@ -84,9 +78,6 @@
"de": "Eine Pommesbude",
"fr": "Une restauration rapide centré sur la vente de frites",
"ca": "Un local de menjar ràpid centrat en les patates fregides"
},
"preciseInput": {
"preferredBackground": "map"
}
}
],
@ -1149,4 +1140,4 @@
"ca": "Una capa que mostra restaurants i locals de menjar ràpid (amb un renderitzat especial per a fregiduries)",
"cs": "Vrstva zobrazující restaurace a zařízení rychlého občerstvení (se speciálním vykreslením pro fritézy)"
}
}
}

View file

@ -244,4 +244,4 @@
"nl": "Een laag die herdenkingsplaatsen voor verongelukte fietsers toont",
"de": "Eine Ebene mit Gedenkstätten für Radfahrer, die bei Verkehrsunfällen ums Leben gekommen sind"
}
}
}

View file

@ -74,4 +74,4 @@
]
}
]
}
}

View file

@ -15,4 +15,4 @@
"iconSize": "5,5,center"
}
]
}
}

View file

@ -45,4 +45,4 @@
}
],
"syncSelection": "global"
}
}

View file

@ -353,4 +353,4 @@
],
"allowMove": true,
"deletion": true
}
}

View file

@ -17,4 +17,4 @@
]
}
]
}
}

View file

@ -126,4 +126,4 @@
"width": 1
}
]
}
}

View file

@ -97,4 +97,4 @@
"enableImproveAccuracy": true,
"enableRelocation": true
}
}
}

View file

@ -545,4 +545,4 @@
]
}
]
}
}

View file

@ -20215,4 +20215,4 @@
]
}
]
}
}

View file

@ -19,4 +19,4 @@
"render": "{all_tags()}"
}
]
}
}

View file

@ -248,4 +248,4 @@
"iconSize": "15,15, bottom"
}
]
}
}

View file

@ -91,4 +91,4 @@
"es": "Una capa que muestra paneles informativos turísticos (ej. informan sobre el paisaje, una construcción, una característica, un mapa, ...)",
"ca": "Una capa que mostra panells informatius turístics (p.e. informen sobre el paissatge, una construcció, una característica, un mapa, …)"
}
}
}

View file

@ -254,14 +254,11 @@
"de": "Bordstein in einem Fußweg",
"fr": "Bordure dans un trottoir"
},
"preciseInput": {
"maxSnapDistance": 10,
"preferredBackground": "photo",
"snapToLayer": [
"cycleways_and_roads",
"kerbs"
]
}
"snapToLayer": [
"cycleways_and_roads",
"kerbs"
],
"maxSnapDistance": 10
}
],
"filter": [
@ -388,4 +385,4 @@
]
}
]
}
}

View file

@ -191,4 +191,4 @@
"enableImproveAccuracy": true
},
"deletion": true
}
}

View file

@ -281,4 +281,4 @@
}
}
]
}
}

View file

@ -11,4 +11,4 @@
"icon": "./assets/svg/crosshair-empty.svg"
}
]
}
}

View file

@ -216,4 +216,4 @@
]
}
]
}
}

View file

@ -21,4 +21,4 @@
}
],
"shownByDefault": false
}
}

View file

@ -547,4 +547,4 @@
}
}
]
}
}

View file

@ -328,4 +328,4 @@
]
}
]
}
}

View file

@ -153,4 +153,4 @@
"de": "Eine Ebene aller OpenStreetMap-Communities",
"ca": "Una capa que mostra les comunitats d'OpenStreetMap"
}
}
}

View file

@ -34,9 +34,6 @@
"de": "ein Paketschließfach",
"ca": "una bústia intel·ligent"
},
"preciseInput": {
"preferredBackground": "photo"
},
"tags": [
"amenity=parcel_locker"
]
@ -280,4 +277,4 @@
]
}
]
}
}

View file

@ -284,4 +284,4 @@
"color": "#ddcc00"
}
]
}
}

View file

@ -206,4 +206,4 @@
"width": "1"
}
]
}
}

View file

@ -91,4 +91,4 @@
"iconSize": "20,20,center"
}
]
}
}

View file

@ -37,4 +37,4 @@
"dashArray": "12 6"
}
]
}
}

View file

@ -180,4 +180,4 @@
],
"deletion": true,
"allowMove": true
}
}

View file

@ -74,4 +74,4 @@
],
"deletion": true,
"allowMove": true
}
}

View file

@ -143,4 +143,4 @@
]
}
]
}
}

View file

@ -122,4 +122,4 @@
"width": "2"
}
]
}
}

View file

@ -645,4 +645,4 @@
}
}
]
}
}

View file

@ -99,4 +99,4 @@
}
}
]
}
}

View file

@ -457,4 +457,4 @@
"width": "1"
}
]
}
}

View file

@ -65,10 +65,7 @@
},
"tags": [
"amenity=public_bookcase"
],
"preciseInput": {
"preferredBackground": "photo"
}
]
}
],
"tagRenderings": [
@ -550,4 +547,4 @@
}
}
]
}
}

View file

@ -94,4 +94,4 @@
}
}
]
}
}

View file

@ -55,13 +55,8 @@
"fr": "Passage piéton",
"ca": "Pas de vianants"
},
"preciseInput": {
"preferredBackground": [
"photo"
],
"snapToLayer": "cycleways_and_roads",
"maxSnapDistance": 25
}
"snapToLayer": "cycleways_and_roads",
"maxSnapDistance": 25
}
],
"tagRenderings": [

View file

@ -11,4 +11,4 @@
"color": "#cc00cc"
}
]
}
}

View file

@ -114,4 +114,4 @@
]
}
]
}
}

View file

@ -401,4 +401,4 @@
"width": 1
}
]
}
}

View file

@ -20,4 +20,4 @@
"cssClasses": "block relative rounded-full"
}
]
}
}

View file

@ -102,4 +102,4 @@
}
}
]
}
}

View file

@ -292,4 +292,4 @@
"nl": "Alle verkeersvrije wegen",
"de": "Alle autofreien Straßen"
}
}
}

View file

@ -72,13 +72,10 @@
"nl": "een flitspaal",
"es": "una cámara de velocidad"
},
"preciseInput": {
"preferredBackground": "photo",
"maxSnapDistance": 10,
"snapToLayer": [
"maxspeed"
]
}
"snapToLayer": [
"maxspeed"
],
"maxSnapDistance": 10
}
],
"mapRendering": [
@ -148,4 +145,4 @@
]
}
]
}
}

View file

@ -78,10 +78,7 @@
},
"tags": [
"highway=speed_display"
],
"preciseInput": {
"preferredBackground": "photo"
}
]
}
],
"mapRendering": [
@ -151,4 +148,4 @@
]
}
]
}
}

View file

@ -15,4 +15,4 @@
"iconSize": "30,30,center"
}
]
}
}

View file

@ -18,4 +18,4 @@
"color": "black"
}
]
}
}

View file

@ -684,4 +684,4 @@
},
"open_now"
]
}
}

Some files were not shown because too many files have changed in this diff Show more