From: gu.martinm@gmail.com Date: Wed, 9 Apr 2014 07:48:56 +0000 (+0200) Subject: Weather Information: nice zoom in map and remove old Google Play key. X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=e5942b6c77e62e678a3255780fce19e437bdb0b4;p=JavaForFun Weather Information: nice zoom in map and remove old Google Play key. --- diff --git a/Android/WeatherInformation/AndroidManifest.xml b/Android/WeatherInformation/AndroidManifest.xml index 824a8b3..3cb28cd 100644 --- a/Android/WeatherInformation/AndroidManifest.xml +++ b/Android/WeatherInformation/AndroidManifest.xml @@ -59,7 +59,7 @@ + android:value=""/> diff --git a/Android/WeatherInformation/src/de/example/exampletdd/WeatherInformationMapActivity.java b/Android/WeatherInformation/src/de/example/exampletdd/WeatherInformationMapActivity.java index 0b10019..d934465 100644 --- a/Android/WeatherInformation/src/de/example/exampletdd/WeatherInformationMapActivity.java +++ b/Android/WeatherInformation/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);