@pirireis/webglobeplugins 1.2.11 → 1.2.12

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": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "main": "index.js",
5
5
  "author": "Toprak Nihat Deniz Ozturk",
6
6
  "license": "MIT",
@@ -228,7 +228,10 @@ export class TerrainPolygonSemiPlugin {
228
228
  setUsePickedColorState(state, target = "polygon") {
229
229
  throw new Error("use setChangeColorOnHoverState instead");
230
230
  }
231
- setOpacity(opacities) {
231
+ setOpacity() {
232
+ throw new Error("use setOpacities instead");
233
+ }
234
+ setOpacities(opacities) {
232
235
  if (opacities.common !== undefined) {
233
236
  opacityCheck(opacities.common);
234
237
  this._options.opacity = opacities.common;