Hello,
I written a python plugin that creates a KML from SHP elements and then call:
webbrowser.open("http://localhost:8000/cesium/Apps/cesiumViewer/index.html", new=0, autoraise=True)
Then, in "index.html":
var viewer = new Cesium.Viewer('cesiumContainer');
var promise = viewer.dataSources.add(Cesium.KmlDataSource.load('gaetaDoc.kml'));
Cesium.when(viewer.flyTo(promise));
display the elements in a Cesium window.
Well, but it opens every time a new browser tab because Chrome does not read the "new=0" option.
So, I need to use some other html technique. Someone has an idea about this ?
Thank you for any help
Roberto