aboutsummaryrefslogtreecommitdiffstats
path: root/mapsforge_patches
diff options
context:
space:
mode:
authorrsudev <rsudev@googlemail.com>2012-01-27 23:14:16 +0100
committerrsudev <rsudev@googlemail.com>2012-01-27 23:14:16 +0100
commitc9b4f567fb60f8787fc88cf916b237d472c55e3b (patch)
tree765466863137e8dc14fffb42fee99a2fed399d87 /mapsforge_patches
parent9954330d850a65b4bfbac7788809fe9f502644d4 (diff)
downloadcgeo-c9b4f567fb60f8787fc88cf916b237d472c55e3b.zip
cgeo-c9b4f567fb60f8787fc88cf916b237d472c55e3b.tar.gz
cgeo-c9b4f567fb60f8787fc88cf916b237d472c55e3b.tar.bz2
fix for mapsforge landscape issue
Diffstat (limited to 'mapsforge_patches')
-rw-r--r--mapsforge_patches/Overlay_issue.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/mapsforge_patches/Overlay_issue.patch b/mapsforge_patches/Overlay_issue.patch
new file mode 100644
index 0000000..1f05a3e
--- /dev/null
+++ b/mapsforge_patches/Overlay_issue.patch
@@ -0,0 +1,13 @@
+Index: mapsforge/src/org/mapsforge/android/maps/Overlay.java
+===================================================================
+--- mapsforge/src/org/mapsforge/android/maps/Overlay.java (revision 1216)
++++ mapsforge/src/org/mapsforge/android/maps/Overlay.java (working copy)
+@@ -375,6 +375,8 @@
+ this.internalMapView.getHeight(), Bitmap.Config.ARGB_8888);
+ this.overlayBitmap2 = Bitmap.createBitmap(this.internalMapView.getWidth(),
+ this.internalMapView.getHeight(), Bitmap.Config.ARGB_8888);
++ // Canvas bug workaround
++ this.overlayCanvas.setMatrix(this.overlayCanvas.getMatrix());
+ this.redraw = true;
+ this.hasValidDimensions = true;
+ } else {