aboutsummaryrefslogtreecommitdiffstats
path: root/mapsforge_patches
diff options
context:
space:
mode:
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 {