forked from MapComplete/MapComplete
		
	Merge master
This commit is contained in:
		
						commit
						cf7650306e
					
				
					 97 changed files with 3603 additions and 2915 deletions
				
			
		|  | @ -7,8 +7,8 @@ | |||
|     if (!htmlElement) { | ||||
|       return | ||||
|     } | ||||
|     const v = value.data | ||||
|     for (let option of Array.from(htmlElement.getElementsByTagName("option"))) { | ||||
|     const v = "" + value.data | ||||
|     for (let option of htmlElement.getElementsByTagName("option")) { | ||||
|       if (option.value === v) { | ||||
|         option.selected = true | ||||
|         return | ||||
|  |  | |||
|  | @ -55,6 +55,9 @@ | |||
| 
 | ||||
|     for (const preset of layer.presets) { | ||||
|       const tags = TagUtils.KVtoProperties(preset.tags ?? []) | ||||
|       if(preset.preciseInput.snapToLayers){ | ||||
|         tags["_referencing_ways"] = '["way/-1"]' | ||||
|       } | ||||
| 
 | ||||
|       const markers = layer.mapRendering.map((mr, i) => | ||||
|         mr | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
|   function clearCaches() { | ||||
|     IdbLocalStorage.clearAll() | ||||
|     Utils.download("./service-worker-clear") | ||||
|     window.location.reload() | ||||
|   } | ||||
|   export let msg: string | ||||
| </script> | ||||
|  |  | |||
|  | @ -28,6 +28,10 @@ | |||
|   } | ||||
| 
 | ||||
|   let configJson: Store<QuestionableTagRenderingConfigJson[]> = value.map((x) => { | ||||
|     if(x === undefined){ | ||||
|       console.log("No config found for ",path) | ||||
|       return [] | ||||
|     } | ||||
|     if (typeof x === "string") { | ||||
|       return perId[x] | ||||
|     } else { | ||||
|  | @ -38,6 +42,7 @@ | |||
|     if (!configs) { | ||||
|       return [{ error: "No configuartions found" }] | ||||
|     } | ||||
|     console.log("Configs are", configs) | ||||
|     return configs.map((config) => { | ||||
|       if (config["builtin"]) { | ||||
|         let override = "" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue