### add dependency:
```dart =
dependencies:
google_maps_flutter: ^2.4.0
```
### API key
go to [google cloud console](https://console.cloud.google.com/google/maps-apis/credentials)
add api key to android/app/src/main/AndroidManifest.xml:
```XML =
<meta-data android:name="com.google.android.geo.API_KEY"
android:value="YOUR KEY HERE"/>
```
remember to check if your minimum version is correct in android/app/build.gradle:
```
android {
defaultConfig {
minSdkVersion 20
}
}
```
and for IOS add APi key in ios/Runner/AppDelegate.m:
``` XML=
[GMSServices provideAPIKey:@"YOUR KEY HERE"];
```
now import the package to be used
```dart=
import 'package:google_maps_flutter/google_maps_flutter.dart';
```
## Ratings
ratings can be accessed via http call 'https://maps.googleapis.com/maps/api/place/nearbysearch/json?&location=$lat,$lng&radius=$radius&key=$apiKey';
for more info check out the [places API](https://developers.google.com/maps/documentation/places/web-service/details)