@pirireis/webglobeplugins 0.15.33 → 0.15.35
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
package/point-tracks/plugin.js
CHANGED
|
@@ -145,7 +145,7 @@ class PointTracksPlugin {
|
|
|
145
145
|
*/
|
|
146
146
|
insertBulk(tracks) {
|
|
147
147
|
this._fillTracksToPointsMap(tracks);
|
|
148
|
-
const flattenedPoints = tracks.map(trackToFlatPoints, this._objectStoreExtraParametersFiltered).flat();
|
|
148
|
+
const flattenedPoints = tracks.map(track => trackToFlatPoints(track, this._objectStoreExtraParametersFiltered)).flat();
|
|
149
149
|
const currentLoad = this._bufferOrchestrator.length;
|
|
150
150
|
if (currentLoad + flattenedPoints.length >= 2147483647) {
|
|
151
151
|
throw new Error("Too many points, Point count cannot exceed 2147483647");
|
|
@@ -209,7 +209,6 @@ export class RangeRingPlugin {
|
|
|
209
209
|
console.warn("Globe or WebGL context is not initialized, cannot update centers hide");
|
|
210
210
|
return;
|
|
211
211
|
}
|
|
212
|
-
console.log("updateCentersHide", items);
|
|
213
212
|
const globe = this.globe;
|
|
214
213
|
for (const item of items) {
|
|
215
214
|
const { centerID, hide, textHide } = item;
|
package/types.js
CHANGED
|
@@ -1 +1,13 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var CSMeasureTextPositionTypes;
|
|
2
|
+
(function (CSMeasureTextPositionTypes) {
|
|
3
|
+
CSMeasureTextPositionTypes["CENTER"] = "center";
|
|
4
|
+
CSMeasureTextPositionTypes["LEFT"] = "left";
|
|
5
|
+
CSMeasureTextPositionTypes["RIGHT"] = "right";
|
|
6
|
+
CSMeasureTextPositionTypes["TOP"] = "bottom";
|
|
7
|
+
CSMeasureTextPositionTypes["BOTTOM"] = "top";
|
|
8
|
+
CSMeasureTextPositionTypes["TOP_LEFT"] = "bottom_left";
|
|
9
|
+
CSMeasureTextPositionTypes["TOP_RIGHT"] = "bottom_right";
|
|
10
|
+
CSMeasureTextPositionTypes["BOTTOM_LEFT"] = "top_left";
|
|
11
|
+
CSMeasureTextPositionTypes["BOTTOM_RIGHT"] = "top_right";
|
|
12
|
+
})(CSMeasureTextPositionTypes || (CSMeasureTextPositionTypes = {}));
|
|
13
|
+
;
|