diff options
| author | campbeb <bpcampbell@gmail.com> | 2012-05-22 14:14:08 -1000 |
|---|---|---|
| committer | campbeb <bpcampbell@gmail.com> | 2012-05-22 14:14:08 -1000 |
| commit | 3c23e89952eb834fcb71fc6d869ecd3b7eb4d87c (patch) | |
| tree | 309d814222463f1e6431ec2262ef949384ff56ce /main/src/cgeo/geocaching/maps/google/GoogleMapView.java | |
| parent | 4453f08ccda762f1c608feaf6cf379d1ffa93df4 (diff) | |
| download | cgeo-3c23e89952eb834fcb71fc6d869ecd3b7eb4d87c.zip cgeo-3c23e89952eb834fcb71fc6d869ecd3b7eb4d87c.tar.gz cgeo-3c23e89952eb834fcb71fc6d869ecd3b7eb4d87c.tar.bz2 | |
Fix offline zoom issue and document zoom level differences
Google Maps and OSM Maps use different zoom levels for the same
view ranges. This is better documented. Additionally, this change
fixes zooming out causing zoom in (Issue #1485).
Diffstat (limited to 'main/src/cgeo/geocaching/maps/google/GoogleMapView.java')
| -rw-r--r-- | main/src/cgeo/geocaching/maps/google/GoogleMapView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/maps/google/GoogleMapView.java b/main/src/cgeo/geocaching/maps/google/GoogleMapView.java index 55a6167..c575177 100644 --- a/main/src/cgeo/geocaching/maps/google/GoogleMapView.java +++ b/main/src/cgeo/geocaching/maps/google/GoogleMapView.java @@ -56,7 +56,7 @@ public class GoogleMapView extends MapView implements MapViewImpl { @Override public void draw(Canvas canvas) { try { - if (getMapZoomLevel() >= 22) { // to avoid too close zoom level (mostly on Samsung Galaxy S series) + if (getMapZoomLevel() > 22) { // to avoid too close zoom level (mostly on Samsung Galaxy S series) getController().setZoom(22); } |
