diff options
author | rsudev <rsudev@googlemail.com> | 2012-01-27 23:14:16 +0100 |
---|---|---|
committer | rsudev <rsudev@googlemail.com> | 2012-01-27 23:14:16 +0100 |
commit | c9b4f567fb60f8787fc88cf916b237d472c55e3b (patch) | |
tree | 765466863137e8dc14fffb42fee99a2fed399d87 | |
parent | 9954330d850a65b4bfbac7788809fe9f502644d4 (diff) | |
download | cgeo-c9b4f567fb60f8787fc88cf916b237d472c55e3b.zip cgeo-c9b4f567fb60f8787fc88cf916b237d472c55e3b.tar.gz cgeo-c9b4f567fb60f8787fc88cf916b237d472c55e3b.tar.bz2 |
fix for mapsforge landscape issue
-rw-r--r-- | main/libs/mapsforge-map-0.2.4.jar | bin | 415627 -> 397479 bytes | |||
-rw-r--r-- | mapsforge_patches/Overlay_issue.patch | 13 |
2 files changed, 13 insertions, 0 deletions
diff --git a/main/libs/mapsforge-map-0.2.4.jar b/main/libs/mapsforge-map-0.2.4.jar Binary files differindex ac08d7a..365b9d1 100644 --- a/main/libs/mapsforge-map-0.2.4.jar +++ b/main/libs/mapsforge-map-0.2.4.jar 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 {
|