var tilesetModelBuilding = new VectorTiles(viewer, ‘https://{t}.data.osmbuildings.org/0.2/anonymous/tile’,{domains:‘abcd’});
VectorTiles is a js class with this events in constructor
this.viewer.clock.onTick.addEventListener(function (event) {
if (this.cameraIsMoving)
this.updateTiles();
}.bind(this)
);
this.viewer.camera.moveStart.addEventListener(function (event) {
this.cameraIsMoving = true;
this.updateTiles();
}.bind(this));
this.viewer.camera.moveEnd.addEventListener(function (event) {
this.cameraIsMoving = false;
this.updateTiles();
}.bind(this));
and using
var geoTiles = this.viewer.scene.globe._surface._tilesToRender;
I can see the tiles to send a webrequest (osmbuildings).
this is the idea…
regards