ngx-mapbox-gl icon indicating copy to clipboard operation
ngx-mapbox-gl copied to clipboard

Refactor ngx-mapbox-gl to support zoneless change detection

Open denisyilmaz opened this issue 5 months ago • 0 comments

  • Updated ngx-mapbox-glto be compatible with Angular’s zoneless change detection by using provideExperimentalZonelessChangeDetection().
  • Removed reliance on zone.onStable as it no longer functions with zoneless mode.
  • Replaced zone.onStable with afterNextRender() to handle post-render tasks, aligning with the new zoneless change detection strategy.

References https://github.com/Wykks/ngx-mapbox-gl/issues/424

denisyilmaz avatar Sep 24 '24 07:09 denisyilmaz