mirror of
https://github.com/flutter/samples.git
synced 2026-04-02 01:32:58 +00:00
Place tracker/maintenance (#519)
* format place_tracker README * update sentence in README * sort Dart members, remove unnecessary type declarations * Run place_tracker on Android and iOS, update project files * add link to developer preview caveat * grammar * update MAINTENANCE
This commit is contained in:
@@ -17,14 +17,16 @@ of building it out. This sample currently only works on Android (see Caveat belo
|
||||
|
||||
### `place_map.dart`
|
||||
|
||||
This page shows a full-screen GoogleMap widget with place markers. Provides examples of how
|
||||
to stack other widgets on top of a GoogleMap widget, how to add markers to a map, and how to make
|
||||
other flutter widgets interact with the GoogleMap widget.
|
||||
This page shows a full-screen GoogleMap widget with place markers. Provides
|
||||
examples of how to stack other widgets on top of a GoogleMap widget, how to add
|
||||
markers to a map, and how to make other flutter widgets interact with the
|
||||
GoogleMap widget.
|
||||
|
||||
### `place_details.dart`
|
||||
|
||||
This page shows a detailed view of a single place. Provides examples of how to place a
|
||||
GoogleMap widget inside of a ListView and how to disable certain touch gestures on the map.
|
||||
This page shows a detailed view of a single place. Provides examples of how to
|
||||
place a GoogleMap widget inside of a ListView and how to disable certain touch
|
||||
gestures on the map.
|
||||
|
||||
## Getting Started
|
||||
|
||||
@@ -32,7 +34,8 @@ To run this sample app, you will need an API key.
|
||||
|
||||
Get an API key at <https://cloud.google.com/maps-platform/>.
|
||||
|
||||
Specify your API key in the application manifest `android/app/src/main/AndroidManifest.xml`:
|
||||
Specify your API key in the application manifest
|
||||
`android/app/src/main/AndroidManifest.xml`:
|
||||
|
||||
```xml
|
||||
<manifest ...
|
||||
@@ -41,14 +44,17 @@ Specify your API key in the application manifest `android/app/src/main/AndroidMa
|
||||
android:value="YOUR KEY HERE"/>
|
||||
```
|
||||
|
||||
For additional help setting up the plugin, see the plugin's [README](https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter) page.
|
||||
For additional help setting up the plugin, see the plugin's
|
||||
[README](https://pub.dev/packages/google_maps_flutter)
|
||||
page.
|
||||
|
||||
For help getting started with Flutter, view our online
|
||||
[documentation](https://flutter.io/).
|
||||
|
||||
## Caveat
|
||||
|
||||
The google_maps_flutter plugin provides an *unpublished preview* of the Flutter API for Google Maps:
|
||||
The google_maps_flutter plugin is in developer preview until [dynamic thread
|
||||
merging](https://github.com/flutter/flutter/projects/155) is finished.
|
||||
* Dart APIs for controlling and interacting with a GoogleMap view from Flutter
|
||||
code are still being consolidated and expanded. The intention is to grow
|
||||
current coverage into a complete offering. Issues and pull requests aimed to
|
||||
|
||||
Reference in New Issue
Block a user