MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / waitForLoading

Function waitForLoading

examples/maplibregl/js/ThreeApplication.js:148–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146 }
147
148 function waitForLoading() {
149 slowLoopIntervalId = setInterval(function () {
150 if (is3DDataLoaded) {
151 is3DDataLoaded = false;
152 SceneBuilder.viewBuilder(app).build();
153 clearInterval(slowLoopIntervalId);
154 app.threeLayer.renderScene();
155 }
156 }, 500);
157 }
158
159 this.load = function () {
160 loadData(function () {

Callers 1

Calls 1

renderSceneMethod · 0.45

Tested by

no test coverage detected