aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/maps/google
diff options
context:
space:
mode:
authorBananeweizen <Bananeweizen@gmx.de>2012-02-18 12:01:10 +0100
committerBananeweizen <Bananeweizen@gmx.de>2012-02-18 12:01:10 +0100
commit34c0e4065a45c55daf5c230c5d27df2d63703b23 (patch)
tree65b6164d229552ffcaa0941a372857b511c815be /main/src/cgeo/geocaching/maps/google
parent80ca9619a38e105c953da22bdd15f0dd3087aa0e (diff)
downloadcgeo-34c0e4065a45c55daf5c230c5d27df2d63703b23.zip
cgeo-34c0e4065a45c55daf5c230c5d27df2d63703b23.tar.gz
cgeo-34c0e4065a45c55daf5c230c5d27df2d63703b23.tar.bz2
#945: unify navigation methods
* removed search result parameter from navigation invocation * removed "fromDetail" differentiation in popup
Diffstat (limited to 'main/src/cgeo/geocaching/maps/google')
-rw-r--r--main/src/cgeo/geocaching/maps/google/GoogleCacheOverlay.java4
-rw-r--r--main/src/cgeo/geocaching/maps/google/GoogleMapView.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/main/src/cgeo/geocaching/maps/google/GoogleCacheOverlay.java b/main/src/cgeo/geocaching/maps/google/GoogleCacheOverlay.java
index 3ce7543..67fe997 100644
--- a/main/src/cgeo/geocaching/maps/google/GoogleCacheOverlay.java
+++ b/main/src/cgeo/geocaching/maps/google/GoogleCacheOverlay.java
@@ -27,9 +27,9 @@ public class GoogleCacheOverlay extends ItemizedOverlay<GoogleCacheOverlayItem>
private CachesOverlay base;
private Lock lock = new ReentrantLock();
- public GoogleCacheOverlay(Context contextIn, Drawable markerIn, boolean fromDetailIn) {
+ public GoogleCacheOverlay(Context contextIn, Drawable markerIn) {
super(boundCenterBottom(markerIn));
- base = new CachesOverlay(this, contextIn, fromDetailIn);
+ base = new CachesOverlay(this, contextIn);
}
@Override
diff --git a/main/src/cgeo/geocaching/maps/google/GoogleMapView.java b/main/src/cgeo/geocaching/maps/google/GoogleMapView.java
index 9d9f3c9..766c941 100644
--- a/main/src/cgeo/geocaching/maps/google/GoogleMapView.java
+++ b/main/src/cgeo/geocaching/maps/google/GoogleMapView.java
@@ -105,9 +105,9 @@ public class GoogleMapView extends MapView implements MapViewImpl {
}
@Override
- public CachesOverlay createAddMapOverlay(Context context, Drawable drawable, boolean fromDetailIntent) {
+ public CachesOverlay createAddMapOverlay(Context context, Drawable drawable) {
- GoogleCacheOverlay ovl = new GoogleCacheOverlay(context, drawable, fromDetailIntent);
+ GoogleCacheOverlay ovl = new GoogleCacheOverlay(context, drawable);
getOverlays().add(ovl);
return ovl.getBase();
}