Skip to content

Commit

Permalink
WIP: example: Add gmaps example
Browse files Browse the repository at this point in the history
  • Loading branch information
aiden-jeffrey committed May 17, 2023
1 parent f4a40e8 commit 9037b63
Show file tree
Hide file tree
Showing 2 changed files with 657 additions and 0 deletions.
53 changes: 53 additions & 0 deletions example/googleMapsExample.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta charset="utf-8"/>

<title>3D Tiles Renderer Options Example</title>

<style>
* {
margin: 0;
padding: 0;
}

html {
overflow: hidden;
font-family: Arial, Helvetica, sans-serif;
user-select: none;
}

canvas {
image-rendering: pixelated;
outline: none;
}

#info {
position: absolute;
top: 0;
left: 0;
color: white;
width: 100%;
text-align: center;
padding: 5px;
pointer-events: none;
line-height: 1.5em;
}

#info a {
color: white;
pointer-events: all;
}
</style>
</head>
<body>
<div id="info">
<div>
Testing another change the evaluation Cesium Ion token from the <a target="_blank" href="https://github.com/CesiumGS/cesium/blob/main/packages/engine/Source/Core/Ion.js#L6-L7">Cesium repository</a> or your own token and asset id <br/> into the fields and press "reload" to see the demo. See <a href="http://cesium.com">cesium.com</a> for more information.
<br/>
</div>
</div>
<script src="./googleMapsExample.js"></script>
</body>
</html>
Loading

0 comments on commit 9037b63

Please sign in to comment.