Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[google_maps_flutter] Add Google maps flutter platform interface #2577

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
5a7a89a
add google_maps_flutter_platform_interface
cylyl Mar 4, 2020
910c6ae
removed unused_local_variable
cylyl Mar 4, 2020
5afbe02
format
cylyl Mar 4, 2020
4c0ac1f
format
cylyl Mar 4, 2020
5276fbc
format#
cylyl Mar 4, 2020
9c35d4c
update CHANGELOG
cylyl Mar 4, 2020
0d99e15
Move MethodChannel code to MethodChannelGoogleMapsFlutter
cylyl Mar 5, 2020
152bd4a
Update dependencies
cylyl Mar 5, 2020
6c2a92c
add buildView method
cylyl Mar 9, 2020
73d23a2
update pubspec
cylyl Mar 9, 2020
25099ab
bugs fix
cylyl Mar 20, 2020
cf190ef
Some adjustments to the PR.
ditman Mar 22, 2020
ae0c68d
dartfmt -w .
ditman Mar 22, 2020
35798fa
Expose the MethodChannel so e2e tests are happy.
ditman Mar 23, 2020
c43d0aa
Move platform into src so we can create a barrel file to export stuff.
ditman Mar 24, 2020
fc9ba91
Create barrel file to export only certain things from src
ditman Mar 24, 2020
3228de6
Adjust imports in platform interface
ditman Mar 24, 2020
4b630d6
Move LatLng and LagLngBounds to the platform interface package. Reexp…
ditman Mar 24, 2020
fdb4329
Move ui.dart to platform_interface. Expose .toJson so it can be used …
ditman Mar 24, 2020
56c1873
Move Polygon and Polyline, and all the related types.
ditman Mar 24, 2020
39c4bd6
Move Circle and Marker files to platform_interface.
ditman Mar 24, 2020
a35d82f
Move callbacks, camera and screen cordinate to platform interface. Ex…
ditman Mar 25, 2020
7d9b1b8
Adapt controller and map widget to new API. Expose _toX methods as to…
ditman Mar 25, 2020
b745850
dartfmt -w .
ditman Mar 25, 2020
45d386d
Use EntityUpdate classes in the corresponding platform interface
ditman Mar 25, 2020
364c829
Modify the platform interface in methods that return map boundaries to
ditman Mar 25, 2020
e879738
Utilize MarkerId instances instead of Strings in the relevant methods.
ditman Mar 25, 2020
8eb9371
Return futures from the platform directly, no need to await for those.
ditman Mar 26, 2020
be832c9
Make mapId a mandatory parameter on the interface methods.
ditman Mar 27, 2020
faf9b97
Add the 11 native event Streams to the platform interface.
ditman Mar 27, 2020
425299d
Connect to the streams coming from the platform interface.
ditman Mar 27, 2020
551c47f
Ensure the streams are of the right type.
ditman Mar 27, 2020
e810234
Use stream_transform package to get the whereType extension.
ditman Mar 27, 2020
ba72342
Final vars should be final
ditman Mar 27, 2020
b2547b5
dartfmt -w .
ditman Mar 28, 2020
e133351
Rename test according to what it tests.
ditman Mar 31, 2020
69dcf5b
buildView document
cylyl Mar 31, 2020
c8ca414
Move CameraPositionCallback to the platform interface
ditman Mar 31, 2020
fbc3b3e
Move takeSnapshot to platform_interface.
ditman Apr 1, 2020
95af9f0
Set google_maps_flutter_platform_interface version to 1.0.0
ditman Apr 1, 2020
63f5d0d
Revert changes to the example.
ditman Apr 3, 2020
99346d6
Remove .gitignore from example dir
ditman Apr 3, 2020
f5a6013
Appease the analyzer.
ditman Apr 3, 2020
545500b
Appease analyze some more.
ditman Apr 3, 2020
609200f
Rename _controller to _mapEventStreamController
ditman Apr 3, 2020
a3efd0f
Update some docs on the platform
ditman Apr 3, 2020
98e0952
Document MapEvent constructors.
ditman Apr 3, 2020
5057b0a
Document method_channel class
ditman Apr 4, 2020
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
4 changes: 4 additions & 0 deletions packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.6.0

* Move MethodChannel code to MethodChannelGoogleMapsFlutter (Flutter Platform Interface)

## 0.5.25+3

* Rename 'Page' in the example app to avoid type conflict with the Flutter Framework.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,36 @@ import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

part 'src/bitmap.dart';
part 'src/callbacks.dart';
part 'src/camera.dart';
part 'src/cap.dart';
part 'src/circle.dart';
part 'src/circle_updates.dart';
import 'package:google_maps_flutter_platform_interface/google_maps_flutter_platform_interface.dart';
import 'package:google_maps_flutter_platform_interface/src/method_channel/method_channel_google_maps_flutter.dart';

export 'package:google_maps_flutter_platform_interface/google_maps_flutter_platform_interface.dart'
show
ArgumentCallbacks,
ArgumentCallback,
BitmapDescriptor,
CameraPosition,
CameraPositionCallback,
CameraTargetBounds,
CameraUpdate,
Cap,
Circle,
CircleId,
InfoWindow,
JointType,
LatLng,
LatLngBounds,
MapStyleException,
MapType,
Marker,
MarkerId,
MinMaxZoomPreference,
PatternItem,
Polygon,
PolygonId,
Polyline,
PolylineId,
ScreenCoordinate;

part 'src/controller.dart';
part 'src/google_map.dart';
part 'src/joint_type.dart';
part 'src/location.dart';
part 'src/marker.dart';
part 'src/marker_updates.dart';
part 'src/pattern_item.dart';
part 'src/polygon.dart';
part 'src/polygon_updates.dart';
part 'src/polyline.dart';
part 'src/polyline_updates.dart';
part 'src/screen_coordinate.dart';
part 'src/ui.dart';
Loading