Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
6014043
wip
kevmoo Jul 7, 2024
5a0a325
Merge remote-tracking branch 'upstream/main' into maps_haxs
Rexios80 Jul 7, 2024
84445f1
Working on migration
Rexios80 Jul 7, 2024
afb21bc
Remove unnecessary null checks
Rexios80 Jul 7, 2024
632c425
Regenerate mocks
Rexios80 Jul 8, 2024
6549ae9
Fixing issues
Rexios80 Jul 8, 2024
662a656
Fixing issues
Rexios80 Jul 8, 2024
009bde1
Fixing issues
Rexios80 Jul 8, 2024
9d3b749
Update index.html files
Rexios80 Jul 8, 2024
c886e30
Use google_maps from git for now
Rexios80 Jul 8, 2024
f630e78
Cleanup
Rexios80 Jul 8, 2024
8ed0567
Cleanup
Rexios80 Jul 8, 2024
8365be5
Fixing issues
Rexios80 Jul 8, 2024
1136718
Preparing for release
Rexios80 Jul 8, 2024
4596476
Use latest google_maps commit
Rexios80 Jul 9, 2024
b417e89
Use latest google_maps commit
Rexios80 Jul 10, 2024
a6562b1
Update exclude_all_packages_app_wasm.yaml
Rexios80 Jul 11, 2024
fa2f49d
Merge branch 'main' into google-maps-package-web-migration
Rexios80 Jul 13, 2024
e763d9d
Add `google_maps` dependency override to `google_maps_flutter` tempor…
Rexios80 Jul 13, 2024
1197527
Merge remote-tracking branch 'upstream/main' into google-maps-package…
Rexios80 Jul 18, 2024
0df349f
Merge remote-tracking branch 'upstream/main' into google-maps-package…
Rexios80 Jul 22, 2024
8468c52
Use new `google_maps` version and remove overrides
Rexios80 Jul 23, 2024
f6fb13c
Merge branch 'main' into google-maps-package-web-migration
Rexios80 Jul 23, 2024
a57c228
Merge remote-tracking branch 'upstream/main' into google-maps-package…
Rexios80 Jul 23, 2024
78df83d
Trigger events the same way as in google_maps_controller_test
ditman Jul 24, 2024
ef43166
Run assertions before accessing bounds and projection.
ditman Jul 24, 2024
c04ae22
Allow web:^1.0.0
ditman Jul 24, 2024
85f4037
Override git url from https instead of ssh.
ditman Jul 24, 2024
0ef12c7
Remove web:1.0.0 since the all_packages app still resolves to 0.5.
ditman Jul 24, 2024
560bda4
Support innerHTMLString through an extension, so the package works bo…
ditman Jul 24, 2024
924a000
Update CHANGELOG.md
ditman Jul 24, 2024
b9b2c04
Merge branch 'main' into google-maps-package-web-migration
Rexios80 Jul 25, 2024
fc4b1de
Merge branch 'main' into google-maps-package-web-migration
ditman Jul 25, 2024
c5488cb
Serve markerclusterer locally so wasm allows loading it.
ditman Jul 26, 2024
a3ca0c4
Convert JSString.toDart properly.
ditman Jul 26, 2024
dbb8847
Correctly read img.hidden in overlay_test.dart
ditman Jul 26, 2024
7d65249
Improve expect statement to match one below
Rexios80 Jul 26, 2024
0fb9b67
Read innerHTML correctly from markers_test.dart
ditman Jul 26, 2024
87063e0
Cast properties from JS Shapes correctly in shapes_test.dart
ditman Jul 26, 2024
3e48fb2
Access deeply nested JS property in styler correctly in google_maps_p…
ditman Jul 26, 2024
03d05db
User marerclusterer from a CDN compliant with COEP/CORP so it works i…
ditman Jul 26, 2024
b1c91bf
Bump to google_maps 8.0.0
ditman Jul 31, 2024
48e8b4c
Merge branch 'main' into google-maps-package-web-migration
ditman Jul 31, 2024
613065e
Bump to google_maps 8.0.0 in example
Rexios80 Jul 31, 2024
31e0a46
Merge remote-tracking branch 'upstream/main' into google-maps-package…
Rexios80 Jul 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Trigger events the same way as in google_maps_controller_test
  • Loading branch information
ditman committed Jul 24, 2024
commit 78df83dc4c8c65df78c1d7de4c431ecfb4405dd2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// found in the LICENSE file.

import 'dart:async';
import 'dart:js_interop';

import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps/google_maps.dart' as gmaps;
Expand Down Expand Up @@ -60,7 +59,7 @@ void main() {
gmaps.event.trigger(
marker,
'click',
<gmaps.MapMouseEvent>[gmaps.MapMouseEvent()].toJS,
gmaps.MapMouseEvent(),
);

// The event handling is now truly async. Wait for it...
Expand All @@ -74,9 +73,7 @@ void main() {
gmaps.event.trigger(
marker,
'dragstart',
<gmaps.MapMouseEvent>[
gmaps.MapMouseEvent()..latLng = gmaps.LatLng(0, 0),
].toJS,
gmaps.MapMouseEvent()..latLng = gmaps.LatLng(0, 0),
);

expect(await methodCalled, isTrue);
Expand All @@ -89,9 +86,7 @@ void main() {
gmaps.event.trigger(
marker,
'drag',
<gmaps.MapMouseEvent>[
gmaps.MapMouseEvent()..latLng = gmaps.LatLng(0, 0),
].toJS,
gmaps.MapMouseEvent()..latLng = gmaps.LatLng(0, 0),
);

expect(await methodCalled, isTrue);
Expand All @@ -104,9 +99,7 @@ void main() {
gmaps.event.trigger(
marker,
'dragend',
<gmaps.MapMouseEvent>[
gmaps.MapMouseEvent()..latLng = gmaps.LatLng(0, 0),
].toJS,
gmaps.MapMouseEvent()..latLng = gmaps.LatLng(0, 0),
);

expect(await methodCalled, isTrue);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// found in the LICENSE file.

import 'dart:async';
import 'dart:js_interop';

import 'package:flutter_test/flutter_test.dart';
import 'package:google_maps/google_maps.dart' as gmaps;
Expand Down Expand Up @@ -46,7 +45,7 @@ void main() {
gmaps.event.trigger(
circle,
'click',
<gmaps.MapMouseEvent>[gmaps.MapMouseEvent()].toJS,
gmaps.MapMouseEvent(),
);

// The event handling is now truly async. Wait for it...
Expand Down Expand Up @@ -106,7 +105,7 @@ void main() {
gmaps.event.trigger(
polygon,
'click',
<gmaps.MapMouseEvent>[gmaps.MapMouseEvent()].toJS,
gmaps.MapMouseEvent(),
);

// The event handling is now truly async. Wait for it...
Expand Down Expand Up @@ -170,7 +169,7 @@ void main() {
gmaps.event.trigger(
polyline,
'click',
<gmaps.MapMouseEvent>[gmaps.MapMouseEvent()].toJS,
gmaps.MapMouseEvent(),
);

// The event handling is now truly async. Wait for it...
Expand Down