ngx-mapbox-gl
ngx-mapbox-gl copied to clipboard
Refactor ngx-mapbox-gl to support zoneless change detection
- 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