want to change that pin image. Instead of that pin want to add other image there.


Putting dynamic users on globe with lat long. But not able to put their images on globe. Can anybody suggest me, how should i put other image user there?

Code :

var questionPin = viewer.entities.add({
name : ‘Question mark’,
position : Cesium.Cartesian3.fromDegrees(<?php echo $long ?>, <?php echo $lat ?>),
billboard : {
image : pinBuilder.fromText(’<?php echo $name ?>’, Cesium.Color.BLACK, 78).toDataURL(),
verticalOrigin : Cesium.VerticalOrigin.BOTTOM

Link : http://camsphere.canopussystems.com/camasphere/Apps/Sandcastle/gallery/dashboard.php

Hello Vinita,

Instead of using the pinBuilder to create the billboard image, you can just input the url for your image. Take a look at this demo: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Billboards.html. In the addBillboard functio you can see how we put the Cesium logo on the globe.