Permalink
Browse files

Define updateOnce properties for BillboardGraphics and LabelGraphics

  • Loading branch information...
YonatanKra committed Sep 13, 2017
1 parent a2f6c4c commit 47ca39ada8c2af7fdcf42f5b3cf14d331cb4eeaf
Showing with 18 additions and 0 deletions.
  1. +9 −0 Source/DataSources/BillboardGraphics.js
  2. +9 −0 Source/DataSources/LabelGraphics.js
@@ -90,12 +90,21 @@ define([
this._distanceDisplayConditionSubscription = undefined;
this._disableDepthTestDistance = undefined;
this._disableDepthTestDistanceSubscription = undefined;
this._updateOnce = 0;
this._definitionChanged = new Event();
this.merge(defaultValue(options, defaultValue.EMPTY_OBJECT));
}
defineProperties(BillboardGraphics.prototype, {
updateOnce: {
get: function() {
return this._updateOnce;
},
set: function(value) {
this._updateOnce = value;
}
},
/**
* Gets the event that is raised whenever a property or sub-property is changed or modified.
* @memberof BillboardGraphics.prototype
@@ -93,12 +93,21 @@ define([
this._distanceDisplayConditionSubscription = undefined;
this._disableDepthTestDistance = undefined;
this._disableDepthTestDistanceSubscription = undefined;
this._updateOnce = 0;
this._definitionChanged = new Event();
this.merge(defaultValue(options, defaultValue.EMPTY_OBJECT));
}
defineProperties(LabelGraphics.prototype, {
updateOnce: {
get: function() {
return this._updateOnce;
},
set: function(value) {
this._updateOnce = value;
}
},
/**
* Gets the event that is raised whenever a property or sub-property is changed or modified.
* @memberof LabelGraphics.prototype

0 comments on commit 47ca39a

Please sign in to comment.