Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Leaflet last Value Map #103

Open
ChrisMalewski opened this issue May 16, 2019 · 0 comments
Open

[BUG] Leaflet last Value Map #103

ChrisMalewski opened this issue May 16, 2019 · 0 comments

Comments

@ChrisMalewski
Copy link

OnDestroy does not work.
Throuws an error:

core.js:1673 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'style' of undefined
TypeError: Cannot read property 'style' of undefined
at setTransform (leaflet-src.js:2414)
at NewClass.eval (leaflet-src.js:4556)
at NewClass.fire (leaflet-src.js:593)
at NewClass._moveEnd (leaflet-src.js:4199)
at NewClass._resetView (leaflet-src.js:4137)
at NewClass.setView (leaflet-src.js:3191)
at NewClass.setZoom (leaflet-src.js:3203)
at NewClass._updateZoomLevels (leaflet-src.js:6694)
at NewClass._removeZoomLimit (leaflet-src.js:6666)
at NewClass.onRemove (leaflet-src.js:10631)
at resolvePromise (zone.js:814)
at resolvePromise (zone.js:771)
at eval (zone.js:873)
at ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:3811)
at ZoneDelegate.invokeTask (zone.js:420)
at Zone.runTask (zone.js:188)
at drainMicroTaskQueue (zone.js:595)
at ZoneTask.invokeTask [as invoke] (zone.js:500)
at invokeTask (zone.js:1540)

ERROR Error: Uncaught (in promise): Error: Map container is being reused by another instance
Error: Map container is being reused by another instance
at NewClass.remove (leaflet-src.js:3697)
at LastValueMapSelectorComponent.CachedMapComponent.ngOnDestroy (helgoland-map.js:190)
at callProviderLifecycles (core.js:9566)
at callElementProvidersLifecycles (core.js:9534)
at callLifecycleHooksChildrenFirst (core.js:9524)
at destroyView (core.js:10586)
at callViewAction (core.js:10712)
at execEmbeddedViewsAction (core.js:10655)
at destroyView (core.js:10584)
at callViewAction (core.js:10712)
at resolvePromise (zone.js:814)
at resolvePromise (zone.js:771)
at eval (zone.js:873)
at ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:3811)
at ZoneDelegate.invokeTask (zone.js:420)
at Zone.runTask (zone.js:188)
at drainMicroTaskQueue (zone.js:595)
at ZoneTask.invokeTask [as invoke] (zone.js:500)
at invokeTask (zone.js:1540)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant