Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
chore: release 3.1.0 (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Braun authored Jul 14, 2023
1 parent d92469e commit 6731e4b
Show file tree
Hide file tree
Showing 19 changed files with 441 additions and 196 deletions.
2 changes: 1 addition & 1 deletion .fvm/fvm_config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"flutterSdkVersion": "stable",
"flavors": {
"lts": "3.0.0",
"lts": "3.10.0",
"main": "stable",
"edge": "beta"
}
Expand Down
16 changes: 16 additions & 0 deletions .tmuxinator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: google_maps_place_picker_mb
root: .

pre_window: tmux set status-bg color31

windows:
- package:
root: .
panes:
- vim README.md +'sil! so Session.vim'
- example:
root: example
panes:
- vim README.md +'sil! so Session.vim'

startup_window: package
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [3.1.0] - 14/Jul/2023

- Graceful location requests via `ignoreLocationPermissionErrors`
- Better zoom controls that look more consistent with the overall experience
- Upgrade packages

## [3.0.2] - 10/May/2023

- Fix getting current location
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,11 @@ myLocationButtonCooldown | int | Cooldown time in seconds for the 'myLocationBut
forceSearchOnZoomChanged | bool | Wether to allow place search even when the zoom has changed. Defaults to false.
automaticallyImplyAppBarLeading | bool | By default, there is a back button on the top. Setting false will remove the back button.
autocompleteOnTrailingWhitespace | bool | Whether to allow autocomplete to run even on whitespace at the end of the search. Defaults to false.
hidePlaceDetailsWhenDraggingPin | bool | Whether to hide place details when dragging pin. Defaults to true.
ignoreLocationPermissionErrors* | bool | Whether to ignore location permission errors. Defaults to false.
onTapBack* | Function(PlaceProvider)? | Called when leaving the Google Picker by pressing the back button.
zoomGesturesEnabled\* | bool | Disable pinch zoom gestures, this does not control the appearance of the zoom in/out buttons.
zoomControlsEnabled\* | bool | Show the zoom in/out buttons on the bottom right of the screen, this does not control the pinch zoom gestures.
compassEnabled\* | bool | Show the compass to allow the user re-orient the map towards North.
onCameraMoveStarted\* | Function(PlaceProvider)? | Called when the camera starts moving. (GoogleMap widget)
onCameraMove\* | CameraPositionCallback? | Called repeatedly as the camera continues to move after an onCameraMoveStarted call. (GoogleMap widget)
onCameraIdle\* | Function(PlaceProvider)? | Called when camera movement has ended, there are no pending animations and the user has stopped interacting with the map. (GoogleMap widget)
Expand Down
2 changes: 1 addition & 1 deletion example/.fvm/fvm_config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"flutterSdkVersion": "stable",
"flavors": {
"lts": "3.0.0",
"lts": "3.10.0",
"main": "stable",
"edge": "beta"
}
Expand Down
2 changes: 1 addition & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
6 changes: 3 additions & 3 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PODS:
- Flutter
- google_maps_flutter_ios (0.0.1):
- Flutter
- GoogleMaps
- GoogleMaps (< 8.0)
- GoogleMaps (5.2.0):
- GoogleMaps/Maps (= 5.2.0)
- GoogleMaps/Base (5.2.0)
Expand Down Expand Up @@ -36,9 +36,9 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
geolocator_apple: cc556e6844d508c95df1e87e3ea6fa4e58c50401
google_maps_flutter_ios: 66201f392bf62d500f07670a30488a247b9bb5b9
google_maps_flutter_ios: abdac20d6ce8931f6ebc5f46616df241bfaa2cfd
GoogleMaps: 025272d5876d3b32604e5c080dc25eaf68764693
package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e
package_info_plus: fd030dabf36271f146f1f3beacd48f564b0f17f7

PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3

Expand Down
1 change: 1 addition & 0 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
files = (
);
inputPaths = (
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
);
name = "Thin Binary";
outputPaths = (
Expand Down
3 changes: 2 additions & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ class _HomePageState extends State<HomePage> {
usePlaceDetailSearch: true,
zoomGesturesEnabled: true,
zoomControlsEnabled: true,
ignoreLocationPermissionErrors: true,
onMapCreated: (GoogleMapController controller) {
print("Map created");
},
Expand Down Expand Up @@ -333,6 +334,7 @@ class _HomePageState extends State<HomePage> {
usePlaceDetailSearch: true,
zoomGesturesEnabled: true,
zoomControlsEnabled: true,
ignoreLocationPermissionErrors: true,
onPlacePicked: (PickResult result) {
setState(() {
selectedPlace = result;
Expand Down Expand Up @@ -374,7 +376,6 @@ class _HomePageState extends State<HomePage> {
zoomGesturesEnabled: false,
zoomControlsEnabled: false,
myLocationButtonEnabled: false,
compassEnabled: false,
mapToolbarEnabled: false,
initialCameraPosition: new CameraPosition(
target: HomePage.kInitialPosition, zoom: 15),
Expand Down
Loading

0 comments on commit 6731e4b

Please sign in to comment.