1. A concise explanation of the problem you’re experiencing.
This is linked to a previous problem i had called "I would like to add links (url) onto my globe"
I have a link redirecting from descriptions in my entity which is a point on my globe. However, the link address is http://www.capitali.org/capitali-drone-app/#/app/preview/3 and the when a user clicks on the description which is a link, nothing shows up.
I have a feeling that it is due to the fact that it is due to the linked page being an ionic js app not an actual website because when I change the link to “www.google.com” it displays fine.
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
Javascript file:
$(document).ready(function() {
Cesium.Ion.defaultAccessToken = ‘eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI3ZTk0OWVmOS03OTNlLTQ1ZmQtYjhlZS0wNDQ1ZTA4MGM1MTQiLCJpZCI6MTI3MzcsInNjb3BlcyI6WyJhc3IiLCJnYyJdLCJpYXQiOjE1NjE3MTY2OTV9.Y5yXWhATrW7MGyDmEOGEgc3DH4gBNOo91y9NKgQ0UQc’;
var extent = Cesium.Rectangle.fromDegrees(-25.75034722222222,-0.4456061,44.204115292705865,70.20189571441897);
Cesium.Camera.DEFAULT_VIEW_RECTANGLE = extent;
Cesium.Camera.DEFAULT_VIEW_FACTOR = 0.3;
var viewer = new Cesium.Viewer(‘cesiumContainer’, {
scene3DOnly: true,
selectionIndicator: true,
baseLayerPicker: false,
animation: false,
timeline: false,
homeButton: true
});
var imageryLayer = viewer.imageryLayers.addImageryProvider(
new Cesium.IonImageryProvider({ assetId: 3 })
);
// SPECIFY Longitude, Latitude
var dubai = viewer.entities.add({
name : ‘Dubai’,
description : “
”,position : Cesium.Cartesian3.fromDegrees(55.2708, 25.2048),
point : {
pixelSize : 10,
color : Cesium.Color.RED,
outlineColor : Cesium.Color.WHITE,
outlineWidth : 1
},
label : {
text : ‘Dubai’,
font : ‘15pt sans-serif’,
style: Cesium.LabelStyle.FILL_AND_OUTLINE,
outlineWidth : 2,
verticalOrigin : Cesium.VerticalOrigin.BOTTOM,
pixelOffset : new Cesium.Cartesian2(0, -9)
}
});
HTML file
CityExplorer.liveAbout CityExplorer.live
CityExplorer.live is an entrepreneuring company pursuing the ambitious goal of broadcasting live images worldwide on multiple levels.
From pole to pole, from east to west our explorers will endeavour to provide the most stunning views and authentic snapshots of everyday life.
From the 4th Quarter of 2019 over 1000 Explorers will be covering the main cities and major landmarks accross the globe:
Our DroneExplorers will give an elavated view of locations to gain new perspectives.
Our BikeExplorers will give a fast paced ground view of locations for a rapid intake of sights and views.
Our GroundExplorers will give a walking pace 1st person view to experience locations as if you are there.
Locations
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I would like my link to redirect and display properly.
4. The Cesium version you’re using, your operating system and browser.
Version 1.59. I have not yet purchased a commercial license but I will be doing so soon as soon as I can finish.