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

Commit 6731e4b

Browse files
author
Martin Braun
authored
chore: release 3.1.0 (#64)
1 parent d92469e commit 6731e4b

19 files changed

+441
-196
lines changed

.fvm/fvm_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"flutterSdkVersion": "stable",
33
"flavors": {
4-
"lts": "3.0.0",
4+
"lts": "3.10.0",
55
"main": "stable",
66
"edge": "beta"
77
}

.tmuxinator.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: google_maps_place_picker_mb
2+
root: .
3+
4+
pre_window: tmux set status-bg color31
5+
6+
windows:
7+
- package:
8+
root: .
9+
panes:
10+
- vim README.md +'sil! so Session.vim'
11+
- example:
12+
root: example
13+
panes:
14+
- vim README.md +'sil! so Session.vim'
15+
16+
startup_window: package

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [3.1.0] - 14/Jul/2023
2+
3+
- Graceful location requests via `ignoreLocationPermissionErrors`
4+
- Better zoom controls that look more consistent with the overall experience
5+
- Upgrade packages
6+
17
## [3.0.2] - 10/May/2023
28

39
- Fix getting current location

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,11 @@ myLocationButtonCooldown | int | Cooldown time in seconds for the 'myLocationBut
271271
forceSearchOnZoomChanged | bool | Wether to allow place search even when the zoom has changed. Defaults to false.
272272
automaticallyImplyAppBarLeading | bool | By default, there is a back button on the top. Setting false will remove the back button.
273273
autocompleteOnTrailingWhitespace | bool | Whether to allow autocomplete to run even on whitespace at the end of the search. Defaults to false.
274+
hidePlaceDetailsWhenDraggingPin | bool | Whether to hide place details when dragging pin. Defaults to true.
275+
ignoreLocationPermissionErrors* | bool | Whether to ignore location permission errors. Defaults to false.
274276
onTapBack* | Function(PlaceProvider)? | Called when leaving the Google Picker by pressing the back button.
275277
zoomGesturesEnabled\* | bool | Disable pinch zoom gestures, this does not control the appearance of the zoom in/out buttons.
276278
zoomControlsEnabled\* | bool | Show the zoom in/out buttons on the bottom right of the screen, this does not control the pinch zoom gestures.
277-
compassEnabled\* | bool | Show the compass to allow the user re-orient the map towards North.
278279
onCameraMoveStarted\* | Function(PlaceProvider)? | Called when the camera starts moving. (GoogleMap widget)
279280
onCameraMove\* | CameraPositionCallback? | Called repeatedly as the camera continues to move after an onCameraMoveStarted call. (GoogleMap widget)
280281
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)

example/.fvm/fvm_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"flutterSdkVersion": "stable",
33
"flavors": {
4-
"lts": "3.0.0",
4+
"lts": "3.10.0",
55
"main": "stable",
66
"edge": "beta"
77
}

example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ subprojects {
2626
project.evaluationDependsOn(':app')
2727
}
2828

29-
task clean(type: Delete) {
29+
tasks.register("clean", Delete) {
3030
delete rootProject.buildDir
3131
}

example/ios/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PODS:
44
- Flutter
55
- google_maps_flutter_ios (0.0.1):
66
- Flutter
7-
- GoogleMaps
7+
- GoogleMaps (< 8.0)
88
- GoogleMaps (5.2.0):
99
- GoogleMaps/Maps (= 5.2.0)
1010
- GoogleMaps/Base (5.2.0)
@@ -36,9 +36,9 @@ EXTERNAL SOURCES:
3636
SPEC CHECKSUMS:
3737
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
3838
geolocator_apple: cc556e6844d508c95df1e87e3ea6fa4e58c50401
39-
google_maps_flutter_ios: 66201f392bf62d500f07670a30488a247b9bb5b9
39+
google_maps_flutter_ios: abdac20d6ce8931f6ebc5f46616df241bfaa2cfd
4040
GoogleMaps: 025272d5876d3b32604e5c080dc25eaf68764693
41-
package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e
41+
package_info_plus: fd030dabf36271f146f1f3beacd48f564b0f17f7
4242

4343
PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3
4444

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@
253253
files = (
254254
);
255255
inputPaths = (
256+
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
256257
);
257258
name = "Thin Binary";
258259
outputPaths = (

example/lib/main.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ class _HomePageState extends State<HomePage> {
176176
usePlaceDetailSearch: true,
177177
zoomGesturesEnabled: true,
178178
zoomControlsEnabled: true,
179+
ignoreLocationPermissionErrors: true,
179180
onMapCreated: (GoogleMapController controller) {
180181
print("Map created");
181182
},
@@ -333,6 +334,7 @@ class _HomePageState extends State<HomePage> {
333334
usePlaceDetailSearch: true,
334335
zoomGesturesEnabled: true,
335336
zoomControlsEnabled: true,
337+
ignoreLocationPermissionErrors: true,
336338
onPlacePicked: (PickResult result) {
337339
setState(() {
338340
selectedPlace = result;
@@ -374,7 +376,6 @@ class _HomePageState extends State<HomePage> {
374376
zoomGesturesEnabled: false,
375377
zoomControlsEnabled: false,
376378
myLocationButtonEnabled: false,
377-
compassEnabled: false,
378379
mapToolbarEnabled: false,
379380
initialCameraPosition: new CameraPosition(
380381
target: HomePage.kInitialPosition, zoom: 15),

0 commit comments

Comments
 (0)