forked from MapComplete/MapComplete
		
	Add labels and increase minzoom for dentist
This commit is contained in:
		
							parent
							
								
									6503f40da2
								
							
						
					
					
						commit
						013c2e4b61
					
				
					 1 changed files with 13 additions and 2 deletions
				
			
		| 
						 | 
					@ -20,7 +20,7 @@
 | 
				
			||||||
  "source": {
 | 
					  "source": {
 | 
				
			||||||
    "osmTags": "amenity=dentist"
 | 
					    "osmTags": "amenity=dentist"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "minzoom": 13,
 | 
					  "minzoom": 8,
 | 
				
			||||||
  "title": {
 | 
					  "title": {
 | 
				
			||||||
    "render": {
 | 
					    "render": {
 | 
				
			||||||
      "en": "Dentist Office {name}",
 | 
					      "en": "Dentist Office {name}",
 | 
				
			||||||
| 
						 | 
					@ -47,8 +47,19 @@
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          "icon": "./assets/layers/dentist/dentist.svg"
 | 
					          "icon": "./assets/layers/dentist/dentist.svg"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      "labelCssClasses": "bg-white rounded px-2",
 | 
				
			||||||
 | 
					      "label": {
 | 
				
			||||||
 | 
					        "mappings": [
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            "if": "name~*",
 | 
				
			||||||
 | 
					            "then": {
 | 
				
			||||||
 | 
					              "en": "{name}"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "lineRendering": [],
 | 
					  "lineRendering": [],
 | 
				
			||||||
  "presets": [
 | 
					  "presets": [
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue