Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperLibs committed Feb 1, 2019
1 parent 6474f7f commit 45e22e2
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 98 deletions.
123 changes: 29 additions & 94 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Expand Up @@ -17,7 +17,7 @@
android:name="io.flutter.app.FlutterApplication"
android:label="flutter_google_map_route"
android:icon="@drawable/logo">
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="google_api_key"/>
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="google_map_key"/>
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
<activity
android:name=".MainActivity"
Expand Down
2 changes: 1 addition & 1 deletion lib/main.dart
Expand Up @@ -3,7 +3,7 @@ import 'package:flutter_google_map_route/map_screen.dart';
import 'package:map_view/map_view.dart';

void main() {
MapView.setApiKey("google_api_key");
MapView.setApiKey("google_map_key");
runApp(new MaterialApp(
debugShowCheckedModeBanner: false,
theme: new ThemeData(
Expand Down
4 changes: 2 additions & 2 deletions lib/utils/map_util.dart
Expand Up @@ -23,7 +23,7 @@ class MapUtil implements GpsUtilListener {
mapView = new MapView();
gpgUtils = new GpgUtils(this);
gpgUtils.init();
staticMapProvider = new StaticMapProvider("google_api_key");
staticMapProvider = new StaticMapProvider("google_map_key");
}

getDirectionSteps(double destinationLat, double destinationLng) {
Expand All @@ -36,7 +36,7 @@ class MapUtil implements GpsUtilListener {
destinationLat.toString() +
"," +
destinationLng.toString() +
"&key=google_api_key")
"&key=google_map_key")
.then((dynamic res) {
List<Steps> rr = res;
print(res.toString());
Expand Down

0 comments on commit 45e22e2

Please sign in to comment.