@pirireis/webglobeplugins 0.15.16-alpha → 0.15.17-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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pirireis/webglobeplugins",
3
- "version": "0.15.16-alpha",
3
+ "version": "0.15.17-alpha",
4
4
  "main": "index.js",
5
5
  "author": "Toprak Nihat Deniz Ozturk",
6
6
  "license": "MIT",
@@ -287,6 +287,15 @@ export class CircleLineChainPlugin {
287
287
  this.globe?.DrawRender();
288
288
  }
289
289
  setDefaultSemiPluginColor(semiPluginName, color) {
290
+ if (semiPluginName === "ALL") {
291
+ this._semiPluginOptions.circleOnTerrainOptions.defaultColor = color;
292
+ this._semiPluginOptions.arcOnTerrainOptions.defaultColor = color;
293
+ this._semiPluginOptions.lineOptions.defaultColor = color;
294
+ this.circlePlugin?.setDefaultColor(color);
295
+ this.arcPlugin?.setDefaultColor(color);
296
+ this.linePlugin?.setDefaultColor(color);
297
+ return;
298
+ }
290
299
  switch (semiPluginName) {
291
300
  case "circleOnTerrain":
292
301
  this._semiPluginOptions.circleOnTerrainOptions.defaultColor = color;