{
  "version": 8,
  "name": "NavSea Domain Land Sea Karatsu 10nm",
  "glyphs": "https://tile.mapple-on.jp/glyphs/{fontstack}/{range}.pbf",
  "sources": {
    "domain_safety": {
      "type": "vector",
      "minzoom": 0,
      "maxzoom": 12,
      "tiles": [
        "http://192.168.200.184/pbf-domain-karatsu-10nm/safety/{z}/{x}/{y}.pbf"
      ],
      "attribution": "&copy; NavSea Domain"
    },
    "domain_detail": {
      "type": "vector",
      "minzoom": 0,
      "maxzoom": 12,
      "tiles": [
        "http://192.168.200.184/pbf-domain-karatsu-10nm/detail/{z}/{x}/{y}.pbf"
      ],
      "attribution": "&copy; NavSea Domain"
    }
  },
  "layers": [
    {
      "id": "sea-background",
      "type": "background",
      "paint": {
        "background-color": "#cfe4ea"
      }
    },
    {
      "id": "land-area",
      "type": "fill",
      "source": "domain_safety",
      "source-layer": "land_area",
      "paint": {
        "fill-color": "#dfcfac",
        "fill-opacity": 1
      }
    },
    {
      "id": "coast-structure-area",
      "type": "fill",
      "source": "domain_safety",
      "source-layer": "onshore_structure_area",
      "paint": {
        "fill-color": "#8f8a7b",
        "fill-opacity": 0.82
      }
    },
    {
      "id": "coast-structure-line",
      "type": "line",
      "source": "domain_safety",
      "source-layer": "onshore_structure_line",
      "paint": {
        "line-color": "#5f5b4e",
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          5, 0.8,
          10, 1.8,
          12, 2.4
        ]
      }
    },
    {
      "id": "baseline-line",
      "type": "line",
      "source": "domain_safety",
      "source-layer": "baseline_line",
      "paint": {
        "line-color": "#676253",
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          5, 0.5,
          10, 1.1,
          12, 1.4
        ]
      }
    },
    {
      "id": "baseline-outline",
      "type": "line",
      "source": "domain_safety",
      "source-layer": "baseline_outline",
      "paint": {
        "line-color": "#6e6959",
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          5, 0.5,
          10, 1.0,
          12, 1.2
        ],
        "line-opacity": 0.7
      }
    },
    {
      "id": "depth-contour-overview",
      "type": "line",
      "source": "domain_safety",
      "source-layer": "depth_contour_overview",
      "paint": {
        "line-color": "#8fd6a8",
        "line-width": 1,
        "line-opacity": 0.85
      }
    },
    {
      "id": "depth-contour",
      "type": "line",
      "source": "domain_safety",
      "source-layer": "depth_contour",
      "paint": {
        "line-color": "#65c684",
        "line-width": 1.1,
        "line-opacity": 0.9
      }
    },
    {
      "id": "depth-labels",
      "type": "symbol",
      "source": "domain_safety",
      "source-layer": "depth_contour",
      "minzoom": 10,
      "layout": {
        "symbol-placement": "line",
        "text-field": [
          "coalesce",
          ["get", "chart_label_text"],
          ["to-string", ["get", "depth_value_m"]],
          ["to-string", ["get", "least_depth_m"]]
        ],
        "text-size": 11,
        "symbol-spacing": 140
      },
      "paint": {
        "text-color": "#36525a",
        "text-halo-color": "rgba(255,255,255,0.75)",
        "text-halo-width": 1
      }
    }
  ]
}
