forked from MapComplete/MapComplete
		
	🚧 Show basic information as a test
This commit is contained in:
		
							parent
							
								
									db7853f032
								
							
						
					
					
						commit
						b57548d46b
					
				
					 1 changed files with 21 additions and 14 deletions
				
			
		| 
						 | 
					@ -21,17 +21,31 @@
 | 
				
			||||||
  "layers": [
 | 
					  "layers": [
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "id": "bag:pand",
 | 
					      "id": "bag:pand",
 | 
				
			||||||
 | 
					      "name": "bag:pand",
 | 
				
			||||||
 | 
					      "title": "bag:pand",
 | 
				
			||||||
      "description": "Buildings which come from the BAG",
 | 
					      "description": "Buildings which come from the BAG",
 | 
				
			||||||
      "source": {
 | 
					      "source": {
 | 
				
			||||||
        "geoJson": "https://service.pdok.nl/lv/bag/wfs/v2_0?request=GetFeature&service=WFS&version=2.0.0&outputFormat=application%2Fjson%3B%20subtype%3Dgeojson&typeName=bag%3Apand&bbox={x_min}%2C{y_min}%2C{x_max}%2C{y_max}%2CCRS84&srsName=EPSG%3A4326",
 | 
					        "geoJson": "https://service.pdok.nl/lv/bag/wfs/v2_0?request=GetFeature&service=WFS&version=2.0.0&outputFormat=application%2Fjson%3B%20subtype%3Dgeojson&typeName=bag%3Apand&bbox={x_min}%2C{y_min}%2C{x_max}%2C{y_max}%2CCRS84&srsName=EPSG%3A4326",
 | 
				
			||||||
        "geoJsonZoomLevel": 18,
 | 
					        "geoJsonZoomLevel": 18,
 | 
				
			||||||
        "osmTags": {
 | 
					        "osmTags": {
 | 
				
			||||||
          "and": [
 | 
					          "and": ["building~*"]
 | 
				
			||||||
            "building~*"
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "maxCacheAge": 0
 | 
					        "maxCacheAge": 0
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
 | 
					      "calculatedTags": [
 | 
				
			||||||
 | 
					        "ref:bag=feat.properties.identificatie",
 | 
				
			||||||
 | 
					        "start_date=feat.properties.bouwjaar"
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      "tagRenderings": [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          "id": "ref:bag",
 | 
				
			||||||
 | 
					          "render": "{ref:bag}"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          "id": "start_date",
 | 
				
			||||||
 | 
					          "render": "{start_date}"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
      "mapRendering": [
 | 
					      "mapRendering": [
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          "width": {
 | 
					          "width": {
 | 
				
			||||||
| 
						 | 
					@ -49,25 +63,18 @@
 | 
				
			||||||
        "geoJson": "https://service.pdok.nl/lv/bag/wfs/v2_0?request=GetFeature&service=WFS&version=2.0.0&outputFormat=application%2Fjson%3B%20subtype%3Dgeojson&typeName=bag%3Averblijfsobject&bbox={x_min}%2C{y_min}%2C{x_max}%2C{y_max}%2CCRS84&srsName=EPSG%3A4326",
 | 
					        "geoJson": "https://service.pdok.nl/lv/bag/wfs/v2_0?request=GetFeature&service=WFS&version=2.0.0&outputFormat=application%2Fjson%3B%20subtype%3Dgeojson&typeName=bag%3Averblijfsobject&bbox={x_min}%2C{y_min}%2C{x_max}%2C{y_max}%2CCRS84&srsName=EPSG%3A4326",
 | 
				
			||||||
        "geoJsonZoomLevel": 18,
 | 
					        "geoJsonZoomLevel": 18,
 | 
				
			||||||
        "osmTags": {
 | 
					        "osmTags": {
 | 
				
			||||||
          "and": [
 | 
					          "and": ["building~*"]
 | 
				
			||||||
            "building~*"
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "maxCacheAge": 0
 | 
					        "maxCacheAge": 0
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "calculatedTags": [
 | 
					      "calculatedTags": ["addr:housenumber=feat.properties.huisnummer"],
 | 
				
			||||||
        "addr:housenumber=feat.properties.huisnummer"
 | 
					 | 
				
			||||||
      ],
 | 
					 | 
				
			||||||
      "mapRendering": [
 | 
					      "mapRendering": [
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          "label": {
 | 
					          "label": {
 | 
				
			||||||
            "render": "<div style='color: black' class='rounded-full p-1 font-bold relative'>{addr:housenumber}</div>",
 | 
					            "render": "<div style='color: black' class='rounded-full p-1 font-bold relative'>{addr:housenumber}</div>",
 | 
				
			||||||
            "condition": "addr:housenumber~*"
 | 
					            "condition": "addr:housenumber~*"
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          "location": [
 | 
					          "location": ["point", "centroid"]
 | 
				
			||||||
            "point",
 | 
					 | 
				
			||||||
            "centroid"
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          "width": {
 | 
					          "width": {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue