@pirireis/webglobeplugins 0.1.2 → 0.1.3

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pirireis/webglobeplugins",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "main": "index.js",
5
5
  "author": "Toprak Nihat Deniz Ozturk",
6
6
  "license": "MIT"
@@ -116,8 +116,7 @@ export default class RangeRingAngleText {
116
116
 
117
117
  for (const { centerID, x, y, rings, stepAngle, hide = ENUM_HIDE.SHOW, textHide = ENUM_TEXT_HIDE.SHOW } of ringDatas) {
118
118
  if (this._centerCollection.has(centerID)) {
119
- const stepAngle = this._centerCollection.get(centerID).get("stepAngle");
120
- this._fillDeleteBucket(centerID, stepAngle, deleteBucket);
119
+ this._fillDeleteBucket(centerID, deleteBucket);
121
120
  }
122
121
  const maxRadius = rings.reduce((acc, { radius }) => Math.max(acc, radius), 0);
123
122
  const show = hide !== ENUM_HIDE.HIDE && textHide === ENUM_TEXT_HIDE.SHOW;
@@ -22,11 +22,11 @@ const { CircleFlatProgram, PaddyFlatProgram, CirclePaddySharedBuffer } = rings;
22
22
 
23
23
  export default class {
24
24
 
25
- constructor(id, { oneDegreePadding = true, compass = COMPASS_MODES.COMPASS, circleEdgeCount = 360, showNumbers = true } = {}) {
25
+ constructor(id, { oneDegreePadding = true, compass = COMPASS_MODES.COMPASS, showNumbers = true } = {}) {
26
26
  this.id = id;
27
27
  this.compass = compass;
28
28
  this._showNumbers = showNumbers;
29
- this.circleEdgeCount = circleEdgeCount;
29
+ this.circleEdgeCount = 360;
30
30
  this._onedegreepaddingOn = oneDegreePadding;
31
31
  this.bufferManager = null;
32
32
  }