Three.js Layer - Google Maps API v=3.21.
by nicolas tenorio
HTML
<script src="https://rawgit.com/ubilabs/google-maps-api-threejs-layer/master/lib/detector.js"></script>
<script src="https://rawgit.com/ubilabs/google-maps-api-threejs-layer/master/lib/dat.gui.js"></script>
<script src="https://rawgit.com/ubilabs/google-maps-api-threejs-layer/master/lib/three.js"></script>
<script src="https://rawgit.com/ubilabs/google-maps-api-threejs-layer/master/threejs-layer.js"></script>
<script src="https://googlemaps.github.io/js-three/public/basic/vendor-dad00654.js"></script>
<script src="https://googlemaps.github.io/js-three/public/basic/basic.js"></script>
<html lang="en">
<head>
<meta charset="utf-8">
<title>@googlemaps/three: basic</title>
<style>
#map, html, body {
height: 100%;
width: 100%;
margin: 0;
}
</style>
</head>
<body>
<div id="map"></div>
<script src="basic.js" type="module"></script>
<script src="vendor-dad00654.js" type="module"></script>
</body>
</html>
CSS
html, body, #map-div {
margin: 0;
padding: 0;
height: 100%;
}