From 8b2c5eee96f6a2675f4bf2b10a8414fb68b80d30 Mon Sep 17 00:00:00 2001 From: "gu.martinm@gmail.com" Date: Wed, 9 Apr 2014 09:48:56 +0200 Subject: [PATCH] Weather Information: nice zoom in map and remove old Google Play key. --- AndroidManifest.xml | 2 +- src/de/example/exampletdd/WeatherInformationMapActivity.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 824a8b3..3cb28cd 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -59,7 +59,7 @@ + android:value=""/> diff --git a/src/de/example/exampletdd/WeatherInformationMapActivity.java b/src/de/example/exampletdd/WeatherInformationMapActivity.java index 0b10019..d934465 100644 --- a/src/de/example/exampletdd/WeatherInformationMapActivity.java +++ b/src/de/example/exampletdd/WeatherInformationMapActivity.java @@ -70,9 +70,9 @@ public class WeatherInformationMapActivity extends Activity { this.mMap.clear(); this.mMarker = this.mMap.addMarker(new MarkerOptions().position(point).draggable(true)); - this.mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(point,15)); + this.mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(point, 5)); this.mMap.animateCamera(CameraUpdateFactory.zoomIn()); - this.mMap.animateCamera(CameraUpdateFactory.zoomTo(15), 2000, null); + this.mMap.animateCamera(CameraUpdateFactory.zoomTo(10), 2000, null); final TextView cityCountry = (TextView) WeatherInformationMapActivity.this .findViewById(R.id.weather_map_citycountry_data); -- 2.1.4