forked from MapComplete/MapComplete
		
	New preset-system, better 'add new POI'-ui with small confirmation
This commit is contained in:
		
							parent
							
								
									c020955cdc
								
							
						
					
					
						commit
						8a1e171298
					
				
					 25 changed files with 317 additions and 80 deletions
				
			
		|  | @ -11,12 +11,18 @@ export class Viewpoint extends LayerDefinition { | |||
|         super({ | ||||
|             name: "Bezienswaardigheid", | ||||
|             description: "Wil je een foto toevoegen van iets dat geen park, bos of natuurgebied is? Dit kan hiermee", | ||||
|             newElementTags: [new Tag("tourism", "viewpoint"), new Tag("fixme", "Added with mapcomplete. This viewpoint should probably me merged with some existing feature")], | ||||
|             presets: [{ | ||||
|                 title: "Bezienswaardigheid (andere)", | ||||
|                 description: "Wens je een foto toe te voegen dat geen park, bos of (erkend) natuurreservaat is? Dit kan hiermee", | ||||
|                 icon: "/assets/viewpoint.svg", | ||||
|                 tags: [new Tag("tourism", "viewpoint"), | ||||
|                     new Tag("fixme", "Added with mapcomplete. This viewpoint should probably me merged with some existing feature")] | ||||
|             }], | ||||
|             icon: "assets/viewpoint.svg", | ||||
|             wayHandling: LayerDefinition.WAYHANDLING_CENTER_ONLY, | ||||
|             style: tags => { | ||||
|                 return { | ||||
|                     color: undefined, icon:{ | ||||
|                     color: undefined, icon: { | ||||
|                         iconUrl: "assets/viewpoint.svg", | ||||
|                         iconSize: [20, 20] | ||||
|                     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue