forked from MapComplete/MapComplete
		
	label for dogpark
This commit is contained in:
		
							parent
							
								
									deb048053d
								
							
						
					
					
						commit
						fc9535216f
					
				
					 1 changed files with 9 additions and 1 deletions
				
			
		|  | @ -72,7 +72,15 @@ | ||||||
|             "centroid" |             "centroid" | ||||||
|           ], |           ], | ||||||
|           "icon": "./assets/themes/dog/dog-park.svg", |           "icon": "./assets/themes/dog/dog-park.svg", | ||||||
|           "iconSize": "40,40,center" |           "iconSize": "40,40,center", | ||||||
|  |           "label": { | ||||||
|  |             "mappings": [ | ||||||
|  |               { | ||||||
|  |                 "if": "name~*", | ||||||
|  |                 "then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>" | ||||||
|  |               } | ||||||
|  |             ] | ||||||
|  |           } | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "#": "Rendering of a line", |           "#": "Rendering of a line", | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue