• JavaScript
  • HTML
                  
                  

                  
                
                  
                  
<html>
<head>
    <title>HERE & harp.gl</title>
    <script src="https://unpkg.com/three/build/three.min.js"></script>
    <script src="https://unpkg.com/@here/harp.gl/dist/harp.js"></script>
    <script src="../test-credentials.js"></script>
    <link href="demo.css" rel='stylesheet' />
    <link href="../template.css" rel='stylesheet' />

<script type="text/javascript" >window.ENV_VARIABLE = 'https://developer.here.com'</script><script src='https://developer.here.com/javascript/src/iframeheight.js'></script></head>

<body>
        <div class="page-header">
                <h1>Harp.gl with HERE Vector Tile</h1>
                <p>Harp.gl renderer with HERE Vector Tile as source data</p>
        </div>
        <canvas id="map" width: 95%; height: 450px;></canvas>
        <script type="text/javascript" src="demo.js"></script>
</body>

</html>