Skip to content

Error when dispose map #161

@paolosantarsiero

Description

@paolosantarsiero

I received this error when i try to dispose map:

Uncaught TypeError: Cannot read properties of null (reading 'init')
    at WorkerBroker.postMessage (mapsjs-core.js:446:74875)
    at Proxy.value (mapsjs-core.js:452:56586)
    at Proxy.value (mapsjs-core.js:452:55929)
    at mapsjs-core.js:454:73957
    at Proxy.value (mapsjs-core.js:454:74713)
    at Proxy.value (mapsjs-core.js:454:73916)
    at Proxy.value (mapsjs-core.js:454:96920)
    at m.i (mapsjs-core.js:374:330)
    at Zd.u (mapsjs-core.js:89:583)
    at m.i (mapsjs-core.js:413:200)

probably because map is in animation zoom or moviment. Is there a possibile to stop all animation camera and after dispose map?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions