forked from MapComplete/MapComplete
		
	Add label to shops
This commit is contained in:
		
							parent
							
								
									daa23fad95
								
							
						
					
					
						commit
						dc42483edf
					
				
					 1 changed files with 9 additions and 1 deletions
				
			
		| 
						 | 
					@ -379,6 +379,14 @@
 | 
				
			||||||
          "then": "isOpen"
 | 
					          "then": "isOpen"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
 | 
					      "label": {
 | 
				
			||||||
 | 
					        "mappings": [
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            "if": "name~*",
 | 
				
			||||||
 | 
					            "then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        ]
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
      "iconSize": {
 | 
					      "iconSize": {
 | 
				
			||||||
        "render": "40,40,center"
 | 
					        "render": "40,40,center"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
| 
						 | 
					@ -396,4 +404,4 @@
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue