{
let container = html`<div style='height:400px;' />`;
yield container;
let map = new mapboxgl.Map({
container,
center: [175,-41],
zoom: 4,
style: "mapbox://styles/mapbox/streets-v11",
scrollZoom: true
});
map.on("load", () => {
map.addSource('10m-bathymetry-81bsvj', {
type: 'vector',
url: 'mapbox://mapbox.9tm8dx88'
});
map.addLayer({"id": "10m-bathymetry-81bsvj",
"type": "fill","source": "10m-bathymetry-81bsvj",
"source-layer": "10m-bathymetry-81bsvj",
"layout": {},
"paint": {"fill-outline-color": "hsla(337, 82%, 62%, 0)",
"fill-color": [ "interpolate",[ "cubic-bezier",0, 0.5,1, 0.5 ],["get", "DEPTH"],200, "#78bced",9000, "#15659f"]}},
'land-structure-polygon');
});
}