@pirireis/webglobeplugins 0.15.9-alpha → 0.15.10-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -287,7 +287,12 @@ export class ArcOnTerrainPlugin {
|
|
|
287
287
|
});
|
|
288
288
|
}
|
|
289
289
|
// this._bufferOrchestrator.resetWithCapacity(bufferManagerMap, result.length);
|
|
290
|
-
|
|
290
|
+
const bufferNames = [];
|
|
291
|
+
if (this._options.globeViewOn)
|
|
292
|
+
bufferNames.push("position3d");
|
|
293
|
+
if (this._options.flatViewOn)
|
|
294
|
+
bufferNames.push("position2d");
|
|
295
|
+
this._bufferOrchestrator.insertBulk(result, bufferManagerMap, bufferNames);
|
|
291
296
|
}
|
|
292
297
|
_fillBufferManagerMap() {
|
|
293
298
|
const { gl, globe } = this;
|