-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[google_maps_flutter] Improve README and API doc comments #8560
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
Changes from all commits
ffd405b
70608e8
9660648
54f9819
4e06db9
d1e0e72
09be9e3
e59276c
4ebd3b5
6721f56
b5fce57
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,7 +87,7 @@ class AndroidGoogleMapsFlutter { | |
class GoogleMap extends StatefulWidget { | ||
/// Creates a widget displaying data from Google Maps services. | ||
/// | ||
/// [AssertionError] will be thrown if [initialCameraPosition] is null; | ||
/// The map's camera will start centered on [initialCameraPosition]. | ||
const GoogleMap({ | ||
super.key, | ||
required this.initialCameraPosition, | ||
|
@@ -110,8 +110,6 @@ class GoogleMap extends StatefulWidget { | |
this.myLocationEnabled = false, | ||
this.myLocationButtonEnabled = true, | ||
this.layoutDirection, | ||
|
||
/// If no padding is specified default padding will be 0. | ||
this.padding = EdgeInsets.zero, | ||
this.indoorViewEnabled = false, | ||
this.trafficEnabled = false, | ||
|
@@ -202,6 +200,8 @@ class GoogleMap extends StatefulWidget { | |
final bool fortyFiveDegreeImageryEnabled; | ||
|
||
/// Padding to be set on map. See https://developers.google.com/maps/documentation/android-sdk/map#map_padding for more details. | ||
/// | ||
/// If no padding is specified, the default padding is 0. | ||
final EdgeInsets padding; | ||
|
||
/// Markers to be placed on the map. | ||
|
@@ -223,6 +223,9 @@ class GoogleMap extends StatefulWidget { | |
final Set<TileOverlay> tileOverlays; | ||
|
||
/// Cluster Managers to be initialized for the map. | ||
/// | ||
/// On the web, an extra step is required to enable clusters. | ||
/// See https://pub.dev/packages/google_maps_flutter_web. | ||
final Set<ClusterManager> clusterManagers; | ||
|
||
/// Called when the camera starts moving. | ||
|
@@ -261,6 +264,8 @@ class GoogleMap extends StatefulWidget { | |
/// * The My Location button animates to focus on the user's current location | ||
/// if the user's location is currently known. | ||
/// | ||
/// This feature is not present in the Google Maps SDK for the web. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ideally we wouldn't reference a specific platform here, but the ship has sailed on that below so we can do this now, and revisit the whole thing in the future. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack. |
||
/// | ||
/// Enabling this feature requires adding location permissions to both native | ||
/// platforms of your app. | ||
/// * On Android add either | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
## 2.14.13 | ||
|
||
* Updates READMEs and API docs. | ||
|
||
## 2.14.12 | ||
|
||
* Updates androidx.annotation:annotation to 1.9.1. | ||
|
Uh oh!
There was an error while loading. Please reload this page.