@pirireis/webglobeplugins 0.6.46-a → 0.6.47-a
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
|
@@ -104,6 +104,7 @@ export default class RangeRingAngleText {
|
|
|
104
104
|
if (this._centerCollection.has(centerID)) {
|
|
105
105
|
this._fillDeleteBucket(centerID, deleteBucket);
|
|
106
106
|
}
|
|
107
|
+
|
|
107
108
|
const maxRadius = rings.reduce((acc, { radius }) => Math.max(acc, radius), 0);
|
|
108
109
|
const textHide_ = _hideAll ? ENUM_TEXT_HIDE.HIDE : textHide;
|
|
109
110
|
const show = hide !== ENUM_HIDE.HIDE && textHide_ === ENUM_TEXT_HIDE.SHOW;
|
|
@@ -289,7 +290,6 @@ export default class RangeRingAngleText {
|
|
|
289
290
|
|
|
290
291
|
__realCoords(long, lat, radius, stepAngle, centerID, outBucket) {
|
|
291
292
|
const { coords, coordsZ, attribs } = outBucket;
|
|
292
|
-
|
|
293
293
|
const coords_ = realCircle(this.globe, long, lat, radius, stepAngle);
|
|
294
294
|
{ // add 0
|
|
295
295
|
const { long, lat } = coords_[0];
|
|
@@ -303,8 +303,7 @@ export default class RangeRingAngleText {
|
|
|
303
303
|
});
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
|
|
307
|
-
let aci = _stepAngle;
|
|
306
|
+
let aci = stepAngle;
|
|
308
307
|
|
|
309
308
|
for (let i = 1; i < coords_.length; i++) {
|
|
310
309
|
if (aci >= 360) break;
|
|
@@ -317,7 +316,7 @@ export default class RangeRingAngleText {
|
|
|
317
316
|
"__fid__": key,
|
|
318
317
|
"aci": (360 - aci).toFixed(0).toString().padStart(3, '0')
|
|
319
318
|
})
|
|
320
|
-
aci +=
|
|
319
|
+
aci += stepAngle;
|
|
321
320
|
}
|
|
322
321
|
}
|
|
323
322
|
|
|
@@ -339,8 +338,7 @@ export default class RangeRingAngleText {
|
|
|
339
338
|
const stepAngle = centerMap.get("stepAngle");
|
|
340
339
|
const { coords, coordsZ, attribs } = outDeleteBucket;
|
|
341
340
|
let i = 0;
|
|
342
|
-
|
|
343
|
-
for (let aci = 0; aci < 360; aci += _stepAngle) {
|
|
341
|
+
for (let aci = 0; aci < 360; aci += stepAngle) {
|
|
344
342
|
const key = this._key(centerID, i++);
|
|
345
343
|
coords.push(0, 0);
|
|
346
344
|
coordsZ.push(0);
|
package/wind/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import WindPlugin from "./plugin";
|
|
2
2
|
import createVectorFieldImage from "./vectorfieldimage";
|
|
3
3
|
import imageToMagnitude from "./imagetovectorfieldandmagnitude";
|
|
4
|
-
|
|
5
|
-
export { createVectorFieldImage, imageToMagnitude, WindPlugin };
|
|
4
|
+
import { createImageFromBase64 } from "../util/webglobjectbuilders";
|
|
5
|
+
export { createVectorFieldImage, imageToMagnitude, WindPlugin, createImageFromBase64 };
|
|
6
6
|
|
|
7
7
|
// TODO: image resmindeki degerlerden ruzgar siddetinin magnitudunun hesaplanip float32array donderen bir fonksiyonun yazilmasi gerekiyor
|