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

Commit 1c03afc

Browse files
author
Martin Braun
committed
docs: demo latest renderer and without pickarea by default
1 parent b933a56 commit 1c03afc

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

example/lib/main.dart

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class _HomePageState extends State<HomePage> {
6060
bool _showGoogleMapInContainer = false;
6161

6262
bool _mapsInitialized = false;
63-
String _mapsRenderer = "auto";
63+
String _mapsRenderer = "latest";
6464

6565
void initRenderer() {
6666
if (_mapsInitialized) return;
@@ -196,17 +196,17 @@ class _HomePageState extends State<HomePage> {
196196
// automaticallyImplyAppBarLeading: false,
197197
// autocompleteLanguage: "ko",
198198
// region: 'au',
199-
pickArea: CircleArea(
200-
center: HomePage.kInitialPosition,
201-
radius: 300,
202-
fillColor: Colors.lightGreen
203-
.withGreen(255)
204-
.withAlpha(32),
205-
strokeColor: Colors.lightGreen
206-
.withGreen(255)
207-
.withAlpha(192),
208-
strokeWidth: 2,
209-
),
199+
// pickArea: CircleArea(
200+
// center: HomePage.kInitialPosition,
201+
// radius: 300,
202+
// fillColor: Colors.lightGreen
203+
// .withGreen(255)
204+
// .withAlpha(32),
205+
// strokeColor: Colors.lightGreen
206+
// .withGreen(255)
207+
// .withAlpha(192),
208+
// strokeWidth: 2,
209+
// ),
210210
// selectedPlaceWidgetBuilder: (_, selectedPlace, state, isSearchBarFocused) {
211211
// print("state: $state, isSearchBarFocused: $isSearchBarFocused");
212212
// return isSearchBarFocused

0 commit comments

Comments
 (0)