サンプルページ

[shortcode_mapbox id=”1″]

 

<script src="https://api.mapbox.com/mapbox-gl-js/v1.11.0/mapbox-gl.js"></script>
<link href="https://api.mapbox.com/mapbox-gl-js/v1.11.0/mapbox-gl.css" rel="stylesheet" />

<div id='map' style='width:500px;height:350px;'></div>
<script>
mapboxgl.accessToken = "pk.eyJ1IjoiZW50ZXJsaW54IiwiYSI6ImNrY2NybHp1NzA3aHIyd21sN2xkYW9jNXAifQ.R-4UL-SaafITxZQbMYlEyg";

    var map = new mapboxgl.Map({
      container: 'map',
      style: 'mapbox://styles/enterlinx/ckccsnk417fkr1hqdq8cw0j86',
      center: [135.5, 34.6],
      zoom: 8
    });
</script>