[OSM-dev] applet fixes in svn - testing volunteers needed!
Dan Moore
writetodan at yahoo.com
Fri Feb 23 23:50:48 GMT 2007
thanks, i've committed both those.
btw, what sys/java etc. were you running on?
cheers, dan.
----- Original Message ----
From: Claudomiro Nascimento Jr. <claudomiro at gmail.com>
To: dev at openstreetmap.org
Sent: Friday, February 23, 2007 11:08:41 PM
Subject: Re: [OSM-dev] applet fixes in svn - testing volunteers needed!
Hi Dan,
It looks good to me. Specially the automatic choice of tile size was a very good improvement.
While you´re into this I have a sugestion and a bugfix:
Sugestion: The new "opacity" value while moving nodes is very faint on my screen. A value of "100" worked like a charm to me:
Index: C:/prog/workspace/osm-applet-new/src/org/openstreetmap/processing/NodeMoveMode.java
===================================================================
--- C:/prog/workspace/osm-applet-new/src/org/openstreetmap/processing/NodeMoveMode.java (revision 2155)
+++ C:/prog/workspace/osm-applet-new/src/org/openstreetmap/processing/NodeMoveMode.java (working copy)
@@ -44,7 +44,7 @@
lastOffsetY = n.coor.y - applet.mouseY;
origX = n.coor.x
;
origY = n.coor.y;
- applet.setOpacity(40); // make roads/nodes see through to ease accurate positioning
+ applet.setOpacity(100); // make roads/nodes see through to ease accurate positioning
}
}
applet.debug("selected: " + applet.selectedNode);
===================================================================
Bugfix: The server responses are UTF-8 now:
Index: C:/prog/workspace/osm-applet-new/src/org/openstreetmap/client/OxParser.java
===================================================================
--- C:/prog/workspace/osm-applet-new/src/org/openstreetmap/client/OxParser.java (revision 2155)
+++ C:/prog/workspace/osm-applet-new/src/org/openstreetmap/client/OxParser.java (working copy)
@@ -40,7 +40,7 @@
public OxParser(InputStream i) {
System.out.println("OSM XML parser started...");
try {
- parse(new InputStreamReader(new BufferedInputStream(i, 1024), "ISO-8859-1"));
+ parse(new InputStreamReader(new BufferedInputStream(i, 1024), "UTF-8"));
} catch (IOException e) {
System.out.println("IOException: " + e);
e.printStackTrace();
===================================================================
_______________________________________________
dev mailing list
dev at openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
____________________________________________________________________________________
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070223/aae2d63f/attachment.html>
More information about the dev
mailing list