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

[google_maps_flutter] Fix memory alarm and map initialization issue #768

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

seungsoo47
Copy link
Contributor

When using a google map's addListener(), do not call the Javascript object directly. This extremely increases memory usage.

Do:
map.addListener('bounds_changed', (event) => { BoundChanged.postMessage('') });
Do not:
map.addListener('bounds_changed', BoundChanged.postMessage);

When using a google map's addListener(), do not call the Javascript object directly.
This extremely increases memory usage.

Do:
 map.addListener('bounds_changed', (event) => { BoundChanged.postMessage('') });
Do not:
 map.addListener('bounds_changed', BoundChanged.postMessage);
@JSUYA JSUYA merged commit f0b4723 into flutter-tizen:master Nov 8, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants