@focusbc/bbs-lib 0.0.18 → 0.0.19

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.
@@ -82165,6 +82165,15 @@ var MapOverlay = class _MapOverlay {
82165
82165
  this.applyViewState({ ...this._viewState, bearing: _MapOverlay.convertHeading(heading) });
82166
82166
  this._headingChangedEvent.emit(heading);
82167
82167
  }
82168
+ // Registers a Deck onAfterRender handler, or clears it when undefined.
82169
+ setAfterRenderCallback(handler) {
82170
+ this._deck.setProps(handler ? { onAfterRender: () => handler() } : { onAfterRender: void 0 });
82171
+ }
82172
+ // Forces Deck to redraw; use after attaching an after-render callback so the quiet-period wait can start.
82173
+ forceRedraw(clearRedrawFlags = true) {
82174
+ ;
82175
+ this._deck.redraw?.(clearRedrawFlags);
82176
+ }
82168
82177
  getShapes() {
82169
82178
  return this._shapes;
82170
82179
  }