{
    "version": 8,
    "name": "Points LED simple",
  
    "sources": {
      "postgis": {
        "type": "vector",
        "tiles": [
          "https://tiles.sde03.fr/ep.v_luminaire/{z}/{x}/{y}.pbf"
        ],
        "minzoom": 0,
        "maxzoom": 14
      }
    },
  
    "layers": [
      {
        "id": "points-circle",
        "type": "circle",
        "source": "postgis",
        "source-layer": "ep.v_luminaire",
  
        "paint": {
          "circle-radius": [
            "interpolate",
            ["linear"],
            ["zoom"],
            5, 8,
            10, 10,
            14, 12
          ],
  
          "circle-color": [
            "case",
            ["==", ["get", "code_type_source"], "LED"],
            "#ffff00",
            "#3388ff"
          ],
  
          "circle-stroke-color": "#ffffff",
          "circle-stroke-width": 1,
          "circle-opacity": 0.9
        }
      }
    ]
  }