Skip to content

Commit

Permalink
[google_maps_flutter] Fix memory alarm and map initialization issue (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
seungsoo47 authored Nov 8, 2024
1 parent d5f304e commit f0b4723
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/google_maps_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## NEXT

* Update webview_flutter_lwe to 0.3.3.
* Fix memory alarm and map initialization issues.

## 0.1.8

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ class GoogleMapsController {
final String options = _createOptions();
final String command = '''
map = new google.maps.Map(document.getElementById('map'), $options);
map.addListener('bounds_changed', BoundChanged.postMessage);
map.addListener('idle', Idle.postMessage);
map.addListener('click', (event) => Click.postMessage(JSON.stringify(event)));
map.addListener('tilesloaded', Tilesloaded.postMessage);
map.addListener('bounds_changed', (event) => { BoundChanged.postMessage(''); });
map.addListener('idle', (event) => { Idle.postMessage(''); });
map.addListener('click', (event) => { Click.postMessage(JSON.stringify(event)); });
map.addListener('tilesloaded', (evnet) => { Tilesloaded.postMessage(''); });
let longPressTimeout;
map.addListener('mousedown', (e) => {
Expand Down

0 comments on commit f0b4723

Please sign in to comment.