forked from MapComplete/MapComplete
		
	Add label and sport shops
This commit is contained in:
		
							parent
							
								
									a1e7474fb4
								
							
						
					
					
						commit
						c7526573b9
					
				
					 3 changed files with 33 additions and 9 deletions
				
			
		|  | @ -9,7 +9,7 @@ | |||
|   "source": { | ||||
|     "osmTags": "leisure=fitness_centre" | ||||
|   }, | ||||
|   "minzoom": 13, | ||||
|   "minzoom": 12, | ||||
|   "title": { | ||||
|     "render": { | ||||
|       "en": "Fitness Centre" | ||||
|  | @ -17,9 +17,7 @@ | |||
|     "mappings": [ | ||||
|       { | ||||
|         "if": "name~*", | ||||
|         "then": { | ||||
|           "en": "Fitness Centre {name}" | ||||
|         } | ||||
|         "then": "{name}" | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|  | @ -75,7 +73,8 @@ | |||
|         "centroid" | ||||
|       ], | ||||
|       "icon": "circle:white;./assets/layers/fitness_centre/gym.svg", | ||||
|       "iconSize": "40,40,center" | ||||
|       "iconSize": "40,40,center", | ||||
|       "label": "{name}" | ||||
|     } | ||||
|   ] | ||||
| } | ||||
|  | @ -9,7 +9,7 @@ | |||
|   "source": { | ||||
|     "osmTags": "leisure=fitness_station" | ||||
|   }, | ||||
|   "minzoom": 13, | ||||
|   "minzoom": 12, | ||||
|   "title": { | ||||
|     "render": { | ||||
|       "en": "Fitness Station" | ||||
|  | @ -18,7 +18,7 @@ | |||
|       { | ||||
|         "if": "name~*", | ||||
|         "then": { | ||||
|           "en": "Fitness Station{name}" | ||||
|           "en": "Fitness Station {name}" | ||||
|         } | ||||
|       } | ||||
|     ] | ||||
|  | @ -350,7 +350,7 @@ | |||
|         "sport=fitness" | ||||
|       ], | ||||
|       "title": { | ||||
|         "en": "a Fitness Station" | ||||
|         "en": "a fitness station" | ||||
|       }, | ||||
|       "icon": "./assets/layers/fitness_station/fitness.svg" | ||||
|     } | ||||
|  |  | |||
|  | @ -16,6 +16,31 @@ | |||
|   "layers": [ | ||||
|     "sport_pitch", | ||||
|     "fitness_centre", | ||||
|     "fitness_station" | ||||
|     "fitness_station", | ||||
|     { | ||||
|       "builtin": "shops", | ||||
|       "override": { | ||||
|         "source": { | ||||
|           "osmTags": "shop=sports" | ||||
|         }, | ||||
|         "presets": [ | ||||
|           { | ||||
|             "tags": [ | ||||
|               "shop=sports" | ||||
|             ], | ||||
|             "title": { | ||||
|               "en": "a sports shop" | ||||
|             }, | ||||
|             "description": { | ||||
|               "en": "Add a new shop selling sports goods." | ||||
|             } | ||||
|           } | ||||
|         ], | ||||
|         "minzoom": 12 | ||||
|       }, | ||||
|       "hideTagRenderingsWithLabels": [ | ||||
|         "shop_types" | ||||
|       ] | ||||
|     } | ||||
|   ] | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue