{
    "version": 8,
    "name": "Bright",
    "metadata": {
      "mapbox:autocomposite": false,
      "mapbox:groups": {
        "1444849242106.713": { "collapsed": false, "name": "Places" },
        "1444849334699.1902": { "collapsed": true, "name": "Bridges" },
        "1444849345966.4436": { "collapsed": false, "name": "Roads" },
        "1444849354174.1904": { "collapsed": true, "name": "Tunnels" },
        "1444849364238.8171": { "collapsed": false, "name": "Buildings" },
        "1444849382550.77": { "collapsed": false, "name": "Water" },
        "1444849388993.3071": { "collapsed": false, "name": "Land" }
      },
      "mapbox:type": "template",
      "openmaptiles:mapbox:owner": "openmaptiles",
      "openmaptiles:mapbox:source:url": "mapbox://openmaptiles.4qljc88t",
      "openmaptiles:version": "3.x"
    },
    "center": [0, 0],
    "zoom": 1,
    "bearing": 0,
    "pitch": 0,
    "sources": {
      "openmaptiles": {
        "type": "vector",
        "url": "http://185.110.191.248/mapserver/cdn/js/v5.json"
      }
    },
    "sprite": "http://185.110.191.248/mapserver/cdn/js/prism.js",
    "glyphs": "http://185.110.191.248/mapserver/cdn/fonts/{fontstack}/{range}.pbf",
    "layers": [
      {
        "id": "background",
        "type": "background",
        "paint": { "background-color": "#363636" }
      },
      
      
      {
        "id": "A1",
        "type": "fill",
        "metadata": { "mapbox:group": "1444849388993.3071" },
        "source": "openmaptiles",
        "source-layer": "A1",
        "minzoom": 4,
        "filter": ["==", "class", "saeed"],
        "layout": {
          "visibility": "visible"
        },
        "paint": { "fill-color": "#ffffff", "fill-opacity": 0.7 }
      },
      {
        "id": "A1-label",
        "type": "line",
        "source": "openmaptiles",
        "source-layer": "A1",
        "minzoom": 4,
        "filter": ["==", "class", "saeed"],
        "layout": {
          "visibility": "visible"
        },
        "paint": { 
          "line-color": "#2a2c2a",
          "line-width": 2
        }
      },

      {
        "id": "D3",
        "type": "fill",
        "metadata": { "mapbox:group": "1444849388993.3071" },
        "source": "openmaptiles",
        "source-layer": "D3",
        "minzoom": 10,
        "filter": ["==", "class", "saeed"],
        "layout": {
          "visibility": "visible"
        },
        "paint": { "fill-color": "#6672b4", "fill-opacity": 0.7 }
      },

      {
        "id": "D3-border",
        "type": "line",
        "source": "openmaptiles",
        "source-layer": "D3",
        "minzoom": 10,
        "filter": ["==", "class", "saeed"],
        "layout": {
          "visibility": "visible"
        },
        "paint": { 
          "line-color": "#353072",
          "line-width": 2
        }
      },


      {
        "id": "P6",
        "type": "fill",
        "metadata": { "mapbox:group": "1444849388993.3071" },
        "source": "openmaptiles",
        "source-layer": "P6",
        "minzoom": 4,
        "filter": ["==", "class", "saeed"],
        "layout": {
          "visibility": "visible"
        },
        "paint": { "fill-color": "#09ec09", "fill-opacity": 0.5 }
      },
      {
        "id": "P6-border",
        "type": "line",
        "source": "openmaptiles",
        "source-layer": "P6",
        "minzoom": 4,
        "filter": ["==", "class", "saeed"],
        "layout": {
          "visibility": "visible"
        },
        "paint": { 
          "line-color": "#6a6d6a",
          "line-width": 2
        }
      },
      

  
      {
        "id": "P4",
        "type": "line",
        "metadata": { "mapbox:group": "1444849345966.4436" },
        "source": "openmaptiles",
        "source-layer": "P4",
        "minzoom": 14,
        "filter": [
          "all",
          ["==", "class", "saeed"]
        ],
        "layout": {
          "line-cap": "round",
          "line-join": "round",
          "visibility": "visible"
        },
        "paint": {
          "line-color": "#a5f4cc",
          "line-width": {
            "base": 0.5,
            "stops": [
              [6.5, 0.5],
              [7, 0.5],
              [20, 2]
            ]
          }
        }
      },
      {
        "id": "C1",
        "type": "line",
        "metadata": { "mapbox:group": "1444849345966.4436" },
        "source": "openmaptiles",
        "source-layer": "C1",
        "minzoom": 4,
        "filter": [
          "all",
          ["==", "class", "saeed"]
        ],
        "layout": {
          "line-cap": "round",
          "line-join": "round",
          "visibility": "visible"
        },
        "paint": {
          "line-color": "#f3eecc",
          "line-width": {
            "base": 1.2,
            "stops": [
              [6.5, 1.3],
              [7, 1.3],
              [20, 7]
            ]
          }
        }
      },

      {
        "id": "N2",
        "type": "line",
        "metadata": { "mapbox:group": "1444849345966.4436" },
        "source": "openmaptiles",
        "source-layer": "N2",
        "minzoom": 4,
        "filter": [
          "all",
          ["==", "class", "saeed"]
        ],
        "layout": {
          "line-cap": "round",
          "line-join": "round",
          "visibility": "none"
        },
        "paint": {
          "line-color":  "#121212", 
          "line-width": {
            "base": 1.2,
            "stops": [
              [6.5, 1],
              [7, 1],
              [20, 5]
            ]
          }
        }
      },

      {
        "id": "N4",
        "type": "line",
        "metadata": { "mapbox:group": "1444849345966.4436" },
        "source": "openmaptiles",
        "source-layer": "N4",
        "minzoom": 4,
        "filter": [
          "all",
          ["==", "class", "saeed"]
        ],
        "layout": {
          "line-cap": "round",
          "line-join": "round",
          "visibility": "visible"
        },
        "paint": {
          "line-color":  ["get", "colorMb"], 
          "line-width": {
            "base": 1,
            "stops": [
              [6.5, 1],
              [7, 0.5],
              [20, 3]
            ]
          }
        }
      },
      {
        "id": "N4-cross",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "N4",
        "minzoom": 15,
        "filter": [
          "all",
          ["==", "class", "saeed"]
        ],
        "layout": {
          "symbol-placement": "line",
          "symbol-spacing": 80,
          "icon-image": "cross-mv",
          "icon-size": [
            "interpolate",
            ["linear"],
            ["zoom"],
            6, 0.3,
            12, 0.5,
            18, 0.7
          ],
          "icon-allow-overlap": true,
          "icon-rotation-alignment": "map"
        },
        "paint": {
          "icon-color": ["get", "colorMb"]
        }
      },

      {
        "id": "N5",
        "type": "line",
        "metadata": { "mapbox:group": "1444849345966.4436" },
        "source": "openmaptiles",
        "source-layer": "N5",
        "minzoom": 4,
        "filter": [
          "all",
          ["==", "class", "saeed"]
        ],
        "layout": {
          "line-cap": "round",
          "line-join": "round",
          "visibility": "visible"
        },
        "paint": {
          "line-color": ["get", "colorMb"], 
          "line-width": {
            "base": 1.2,
            "stops": [
              [6.5, 1],
              [7, 1],
              [20, 5]
            ]
          }
        }
      },
      {
        "id": "N6",
        "type": "line",
        "metadata": { "mapbox:group": "1444849345966.4436" },
        "source": "openmaptiles",
        "source-layer": "N6",
        "minzoom": 4,
        "filter": [
          "all",
          ["==", "class", "saeed"]
        ],
        "layout": {
          "line-cap": "round",
          "line-join": "round",
          "visibility": "visible"
        },
        "paint": {
          "line-color":  ["get", "colorMb"], 
          "line-width": {
            "base": 4,
            "stops": [
              [6.5, 4],
              [7, 5.5],
              [20, 14]
            ]
          }
        }
      },
      {
        "id": "N6-label",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "N6",
        "minzoom": 15.2,
        "layout": {
          "text-field": "{FEEDER_NAME}",
          "text-font": ["VazirRegular"],
          "text-size": 12,
          "text-anchor": "bottom",
          "visibility": "visible",
          "text-offset": [-2.3,-0.4],
          "text-rotate": 90,
          "text-allow-overlap": true

        },
        "paint": {
          "text-color": "#0b2374"
        }
      },
      {
        "id": "N7",
        "type": "line",
        "metadata": { "mapbox:group": "1444849345966.4436" },
        "source": "openmaptiles",
        "source-layer": "N7",
        "minzoom": 13,
        "filter": [
          "all",
          ["==", "class", "saeed"]
        ],
        "layout": {
          "line-cap": "round",
          "line-join": "round",
          "visibility": "visible"
        },
        "paint": {
          "line-color": "#000000", 
          "line-dasharray": [2, 2],
          "line-width": {
            "base": 1.2,
            "stops": [
              [6.5, 1],
              [7, 1],
              [20, 5]
            ]
          }
        }
      },

      {
        "id": "D2",
        "type": "line",
        "metadata": { "mapbox:group": "1444849345966.4436" },
        "source": "openmaptiles",
        "source-layer": "D2",
        "minzoom": 10,
        "filter": [
          "all",
          ["==", "class", "saeed"]
        ],
        "layout": {
          "line-cap": "round",
          "line-join": "round",
          "visibility": "visible"
        },
        "paint": {
          "line-color": "#585757", 
          "line-dasharray": [2, 2],
          "line-width": {
            "base": 1.2,
            "stops": [
              [6.5, 1],
              [7, 1],
              [20, 5]
            ]
          }
        }
      },


      






  
      {
        "id": "P1",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "P1",
        "minzoom": 13,
        "layout": {
          "icon-image": "1", 
          "icon-size": {
            "stops": [
              [13, 0.2],  
              [16, 0.6],  
              [20, 1.2]   
            ]
          },
          "icon-allow-overlap": true,
          "visibility": "visible"
        }
      },
      {
        "id": "P1-label",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "P1",
        "minzoom": 15,
        "layout": {
          "text-field": "{MV_TRANS_N}",
          "text-font": ["VazirRegular"],
          "text-size": 12,
          "text-anchor": "top",
          "visibility": "visible",
          "text-allow-overlap": true,
          "text-offset": [0, -2]
        },
        "paint": {
          "text-color": "#000000"
        }
      },
      {
        "id": "P2",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "P2",
        "minzoom": 16,
        "layout": {
          "icon-image": "post_air_vector",
          "icon-size": {
            "stops": [
              [13, 0.6],
              [16, 0.9],
              [20, 1.1]
            ]
          },
          "icon-rotate": ["get", "ANGLE"],
          "icon-allow-overlap": true,
          "visibility": "visible"
        },
        "paint": {
          "icon-color": ["get", "colorMb"] 
        }
      },


      {
        "id": "P2-label",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "P2",
        "minzoom": 16.5,
        "layout": {
          "text-field": "{PL_MDSUB_N}",
          "text-font": ["VazirRegular"],
          "text-size": 11,
          "text-anchor": "top",
          "icon-allow-overlap": true,
          "visibility": "visible",
          "text-offset": [0, -2],
          "text-allow-overlap": true

        },
        "paint": {
          "text-color": "#000000"
        }
      },
      {
        "id": "P3",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "P3",
        "minzoom": 16,
        "layout": {
          "icon-image": ["get", "type"],
          "icon-allow-overlap": true,
          "visibility": "visible",
          "icon-size": {
            "stops": [
              [13, 0.2],  
              [16, 0.6],  
              [20, 1.2]   
            ]
          }
        },"paint": {
          "icon-color": ["get", "colorMb"] 
        }
        
      },
      {
        "id": "P3-label",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "P3",
        "minzoom": 16.5,
        "layout": {
          "text-field": "{PD_MDSUB_N}",
          "text-font": ["VazirRegular"],
          "text-size": 11,
          "text-anchor": "top",
          "visibility": "visible",
          "text-offset": [0, -2],
          "text-allow-overlap": true
        },
        "paint": {
          "text-color": "#042b57"
        }
      },
      {
        "id": "P5",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "P5",
        "minzoom": 13,
        "layout": {
          "icon-image": "power_dg", 
          "icon-size": {
            "stops": [
              [13, 0.4],  
              [16, 1],  
              [20, 2]   
            ]
          }, 
          "icon-allow-overlap": true,
          "visibility": "visible"
        }
      },
      {
        "id": "O1",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "O1",
        "minzoom": 10,
        "layout": {
          "icon-image": "meger", 
         "icon-size": {
            "stops": [
              [13, 2],  
              [16, 1],  
              [20, 2]   
            ]
          }, 
          "icon-allow-overlap": true,
          "visibility": "none"
        }
      },
      {
        "id": "O2",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "O2",
        "minzoom": 16,
        "layout": {
          "icon-image": "meger", 
          "icon-size": {
            "stops": [
              [13, 0.5],  
              [16, 0.5],  
              [20, 0.5]   
            ]
          },           
          "icon-allow-overlap": true,
          "visibility": "visible"
        }
      },
      {
        "id": "O3",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "O3",
        "minzoom": 4,
        "layout": {
          "icon-image": "star_11", 
          "icon-size": 1, 
          "icon-allow-overlap": true,
          "visibility": "none"
        }
      },
      {
        "id": "O4",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "O4",
        "minzoom": 4,
        "layout": {
          "icon-image": "star_11", 
          "icon-size": 1, 
          "icon-allow-overlap": true,
          "visibility": "none"
        }
      },
      {
        "id": "C2",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "C2",
        "minzoom": 4,
        "layout": {
          "icon-image": "star_11", 
          "icon-size": 1, 
          "icon-allow-overlap": true,
          "visibility": "none"
        }
      },
      {
        "id": "C3",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "C3",
        "minzoom": 16.2,
        "layout": {
          "icon-image": "power_click", 
          "icon-size": {
            "stops": [
              [13, 0.2],  
              [16, 0.6],  
              [20, 0.8]   
            ]
          },
          "icon-rotate": ["get", "ANGLE"],
          "icon-allow-overlap": true,
          "visibility": "visible"
        }
        ,"paint": {
          "icon-color": [
            "case",
            ["==", ["get", "enable"], 1], "#ff0000", 
            "#1a6600" 
          ]
        }
      },


      {
        "id": "C4",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "C4",
        "minzoom": 4,
        "layout": {
          "icon-image": "star_11", 
          "icon-size": 1, 
          "icon-allow-overlap": true,
          "visibility": "none"
        }
      },
      {
        "id": "C5",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "C5",
        "minzoom": 4,
        "layout": {
          "icon-image": "star_11", 
          "icon-size": 1, 
          "icon-allow-overlap": true,
          "visibility": "none"
        }
      },
      {
        "id": "C6",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "C6",
        "minzoom": 19.0,
        "layout": {
          "icon-image": [
            "case",
            ["==", ["get", "ENABLED"], 1], "secsuner",
            "openline"
          ],
          "icon-allow-overlap": true,
          "icon-rotate": ["+", ["get", "ANGLE"], 90],
          "visibility": "visible",
          "icon-size": {
            "stops": [
              [13, 0.2],  
              [16, 0.8],  
              [20, 1]   
            ]
          }
        },
        "paint": {
          "icon-color": [
            "case",
            ["==", ["get", "enable"], 1], "#ff0000", 
            "#1a6600"
          ]
        }
      }, 
      
      
      {
        "id": "C1points",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "C1points",
        "minzoom": 19,
        "layout": {
          "icon-image": [
            "case",
            ["==", ["get", "ENABLED"], 1], "jumper_click",
            "jumper_click_off"
          ],
          "icon-allow-overlap": true,
          "icon-rotate": ["+", ["get", "ANGLE"], 90],
          "visibility": "visible",
          "icon-size": {
            "stops": [
              [13, 0.2],  
              [16, 0.8],  
              [20, 1]   
            ]
          }
        },
        "paint": {
          "icon-color": [
            "case",
            ["==", ["get", "enable"], 1], "#ff0000", 
            "#1a6600"
          ]
        }
      }, 




      {
        "id": "C7",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "C7",
        "minzoom": 4,
        "layout": {
          "icon-image": "star_11", 
          "icon-size": 1, 
          "icon-allow-overlap": true,
          "visibility": "none"
        }
      },
      {
        "id": "N1",
        "type": "circle",
        "source": "openmaptiles",
        "source-layer": "N1",
        "minzoom": 13,
        "paint": {
          "circle-color": "#000000",
          "circle-radius": 5
        },
        "layout": {
          "visibility": "none"
        }
      },
      {
       "id": "N3",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "N3",
        "minzoom": 13,
        "layout": {
          "icon-image": "airport_11", 
          "icon-size": {
            "stops": [
              [13, 0.6],  
              [16, 1.2],  
              [20, 2]   
            ]
          }, 
          "icon-allow-overlap": true,
          "visibility": "visible",
          "icon-rotate": ["get", "ANGLE"]

        },
        "paint": {
        "icon-color": ["get", "colorMb"] 
        }
      },
      {
        "id": "d1-label",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "d1",
        "minzoom": 4,
        "layout": {
          "text-field": "{name:latin}",
          "text-font": ["VazirRegular"],
          "text-size": 12,
          "text-anchor": "top",
          "visibility": "none",
          "text-offset": [0, -3.8]
        },
        "paint": {
          "text-color": "#000000"
        }
      },
  
      {
        "id": "a1",
        "type": "circle",
        "source": "openmaptiles",
        "source-layer": "a1",
        "minzoom": 13,
        "paint": {
          "circle-color": "#000000",
          "circle-radius": 5
        }
      },


      {
        "id": "P6-label",
        "type": "symbol",
        "source": "openmaptiles",
        "source-layer": "P6",
        "minzoom": 4,
        "maxzoom": 13,
        "layout": {
          "text-field": "{SUBSTAT_NA}",
          "text-font": ["VazirBold"],
          "text-size": 16,
          "text-anchor": "top",
          "visibility": "visible",
          "text-offset": [0, 0]
        },
        "paint": {
          "text-color": "#000",
          "text-halo-color": "#fff",
          "text-halo-width": 1.5,
          "text-halo-blur": 0.2
        }
      }
      
  
  
  
  
  
  
  
  
  
  
  
  
  
      
    ],
    "id": "bright"
  }
  