i am not progammer… i just have little knowledge about it. any body can help me to solve this problem. below is may funtion, the problem is my data 3dtile not display in map
function loadkk5Maran() {
if (!kk5Maran) {
var tilesetUrl = 'data/vektor_data/KK5_Maran/tileset.json';
var tileset = new Cesium.Cesium3DTileset({
url: tilesetUrl
});
viewer.scene.primitives.add(tileset);
kk5Maran = tileset;
viewer.camera.flyTo({
destination: Cesium.Cartesian3.fromDegrees(102.8869, 3.6695, 1000.0), // Sesuaikan skala jika perlu
orientation: {
heading: Cesium.Math.toRadians(0),
pitch: Cesium.Math.toRadians(-90.0),
roll: 0.0,
},
easingFunction: Cesium.EasingFunction.QUADRATIC_IN_OUT,
duration: 5
});
}
}