ukis-frontend-libraries
ukis-frontend-libraries copied to clipboard
Test to change ChangeDetectionStrategy for map-ol
Description
Currently angular Change Detection is triggered on every mouse move
/click
/zoom
/view change
...
Maybe we can reduce some not needed checks.
They are definitely needed for:
- popups
- ...
Relevant Package
This feature request is for @dlr-eoc/....
- @dlr-eoc/map-ol
Examples
Are there any examples in other projects that demonstrate this feature or enhancement?
- https://github.com/bluehalo/ngx-leaflet/blob/14.0.1/projects/ngx-leaflet/src/lib/core/leaflet.directive.ts
- https://dev.to/camptocamp-geo/openlayers-in-an-angular-application-mn1
- https://github.com/krzysztof-grzybek/Run-outside-angular-examples
How Angular creates google-map
- https://github.com/angular/components/blob/main/src/google-maps/google-map/google-map.ts