Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Destroy a map? #573

Open
youradds opened this issue Feb 9, 2018 · 0 comments
Open

Destroy a map? #573

youradds opened this issue Feb 9, 2018 · 0 comments

Comments

@youradds
Copy link

youradds commented Feb 9, 2018

Hi,

How do you properly destroy a map, to free up the memory? I have an app I'm working, and it annoyingly requires me to re-init the map every time (as the div its showing in, is a popup modal that doesn't remain in the DOM). As such, I want to make sure I clean out the map from memory when closing the modal the users use. I can't find anything about destroying it though in the documents?

Thanks

Andy

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

No branches or pull requests

2 participants