The attached patch changes the OSM-URL (toOSMURL()) so that a small needle is shown at the location of the Coord.

The current OSMUrl has no clear indication of the real location of the Coord.

WanMil
Index: src/uk/me/parabola/imgfmt/app/Coord.java
===================================================================
--- src/uk/me/parabola/imgfmt/app/Coord.java    (revision 1479)
+++ src/uk/me/parabola/imgfmt/app/Coord.java    (working copy)
@@ -229,9 +229,9 @@
        }
 
        public String toOSMURL(int zoom) {
-               return ("http://www.openstreetmap.org/?lat="; +
+               return ("http://www.openstreetmap.org/index.html?mlat="; +
                        new Formatter(Locale.ENGLISH).format("%.5f", 
Utils.toDegrees(latitude)) +
-                       "&lon=" +
+                       "&mlon=" +
                        new Formatter(Locale.ENGLISH).format("%.5f", 
Utils.toDegrees(longitude)) +
                        "&zoom=" +
                        zoom);
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to