Weather Information: nice zoom in map and remove old Google Play key.
authorgu.martinm@gmail.com <gu.martinm@gmail.com>
Wed, 9 Apr 2014 07:48:56 +0000 (09:48 +0200)
committergu.martinm@gmail.com <gu.martinm@gmail.com>
Wed, 9 Apr 2014 07:48:56 +0000 (09:48 +0200)
Android/WeatherInformation/AndroidManifest.xml
Android/WeatherInformation/src/de/example/exampletdd/WeatherInformationMapActivity.java

index 824a8b3..3cb28cd 100644 (file)
@@ -59,7 +59,7 @@
         
         <meta-data
             android:name="com.google.android.maps.v2.API_KEY"
-            android:value="AIzaSyBNYGgEZgS3cqEaElaegEtOlY57jhLeEqU"/>
+            android:value=""/>
         <meta-data
             android:name="com.google.android.gms.version"
             android:value="@integer/google_play_services_version" />
index 0b10019..d934465 100644 (file)
@@ -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);