How to re-open Cesium in the same browser window ?


I written a python plugin that creates a KML from SHP elements and then call:"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'));

display the elements in a Cesium window.

Well, but it opens every time a new browser tab :frowning: 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