| @@ -49,9 +49,6 @@ class BounceBillboardPrimitive extends BillboardPrimitive { | |||
| this._layer.delegate.remove(this) | |||
| } | |||
| /** | |||
| * | |||
| */ | |||
| update() { | |||
| if (!this._show) { | |||
| return | |||
| @@ -66,6 +63,13 @@ class BounceBillboardPrimitive extends BillboardPrimitive { | |||
| this._currentOffset.y += offsetAmount * (this._isUp ? -1 : 1) | |||
| this._delegate.pixelOffset = this._currentOffset | |||
| } | |||
| /** | |||
| * @return {*} | |||
| */ | |||
| destroy() { | |||
| return Cesium.destroyObject(this) | |||
| } | |||
| } | |||
| Overlay.registerType('bounce_billboard_primitive') | |||
| @@ -49,9 +49,6 @@ class BounceLabelPrimitive extends LabelPrimitive { | |||
| this._layer.delegate.remove(this) | |||
| } | |||
| /** | |||
| * | |||
| */ | |||
| update() { | |||
| if (!this._show) { | |||
| return | |||
| @@ -66,6 +63,13 @@ class BounceLabelPrimitive extends LabelPrimitive { | |||
| this._currentOffset.y += offsetAmount * (this._isUp ? -1 : 1) | |||
| this._delegate.pixelOffset = this._currentOffset | |||
| } | |||
| /** | |||
| * @return {*} | |||
| */ | |||
| destroy() { | |||
| return Cesium.destroyObject(this) | |||
| } | |||
| } | |||
| Overlay.registerType('bounce_label_primitive') | |||