Browse Source

Example: Add Cesium Ion logo to 3d tiles example (#30907)

* Add cesium logo to 3d tiles demo

* CSS updates
Garrett Johnson 9 months ago
parent
commit
929c4764ef
2 changed files with 12 additions and 4 deletions
  1. BIN
      examples/textures/cesiumion.png
  2. 12 4
      examples/webgl_loader_3dtiles.html

BIN
examples/textures/cesiumion.png


+ 12 - 4
examples/webgl_loader_3dtiles.html

@@ -14,14 +14,19 @@
 			a {
 				color: #b3e5fc;
 				text-decoration: underline;
+				pointer-events: all;
 			}
 
-			img {
+			#credits {
 				pointer-events: none;
 				position: absolute;
 				left: 10px;
-				bottom: 10px;
-				width: 70px;
+				bottom: 5px;
+			}
+
+			img {
+				height: 25px;
+				margin-right: 0px;
 			}
 		</style>
 	</head>
@@ -34,7 +39,10 @@
 			and other tiled data formats. <a href="https://developers.google.com/maps/documentation/tile/3d-tiles">Google Photorealistic Tiles</a> token courtesy of <a href="https://ion.cesium.com/">Cesium Ion</a>.
 		</div>
 
-		<img src="./textures/google_on_non_white_hdpi.png" />
+		<div id="credits">
+			<img src="./textures/google_on_non_white_hdpi.png" />
+			<a href="https://ion.cesium.com/"><img src="./textures/cesiumion.png" /></a>
+		</div>
 
 		<script type="importmap">
 			{

粤ICP备19079148号