You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
We've been using ember-g-map for some time.
But we faced an issue possibly with google maps and I wonder if you are aware of it and maybe have some thought on fixing it.
I'm talking about memory leaks which Google Maps produce because there is no proper cleaning after we remove a map from page.
Here is an issue reported to google years ago https://issuetracker.google.com/issues/35821412
And it has status Won't fix. The only answer on how to solve that in that thread is recommendation to reuse (map canvas?) somehow.
We face an issue when we use Google Directions service and render polylines that it returns. If we create a complex path (like imagine DRIVING polyline around the whole USA) and close and reopen such map several times we get a huge memory leak. It's about 100Mb per opening of map which is not released then (manually triggerring GC in google chrome does not help).
Are you aware of such issues? Do you have any ideas on how to better reuse maps with this addon?
The text was updated successfully, but these errors were encountered:
I saw in sandydoo/ember-google-maps#51 that you said you have a solution for this problem that works with ember-g-map. Is this maybe in a forked repo or a public repo so that I could re-use the same solution?
Hi!
We've been using
ember-g-map
for some time.But we faced an issue possibly with google maps and I wonder if you are aware of it and maybe have some thought on fixing it.
I'm talking about memory leaks which Google Maps produce because there is no proper cleaning after we remove a map from page.
Here is an issue reported to google years ago https://issuetracker.google.com/issues/35821412
And it has status Won't fix. The only answer on how to solve that in that thread is recommendation to reuse (map canvas?) somehow.
We face an issue when we use Google Directions service and render polylines that it returns. If we create a complex path (like imagine DRIVING polyline around the whole USA) and close and reopen such map several times we get a huge memory leak. It's about 100Mb per opening of map which is not released then (manually triggerring GC in google chrome does not help).
Are you aware of such issues? Do you have any ideas on how to better reuse maps with this addon?
The text was updated successfully, but these errors were encountered: