<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:8pt"><div style="font-family: courier,monaco,monospace,sans-serif; font-size: 8pt;">thanks, i've committed both those.<br><br>btw, what sys/java etc. were you running on?<br><br>cheers, dan.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Claudomiro Nascimento Jr. <claudomiro@gmail.com><br>To: dev@openstreetmap.org<br>Sent: Friday, February 23, 2007 11:08:41 PM<br>Subject: Re: [OSM-dev] applet fixes in svn - testing volunteers needed!<br><br>Hi Dan,<br><br>It looks good to me. Specially the automatic choice of tile size was a very good improvement.<br><br>While you´re into this I have a sugestion and a bugfix:<br><br>Sugestion: The new "opacity" value while moving nodes is very faint on my screen. A value of "100" worked like a charm to me:
<br><br>Index: C:/prog/workspace/osm-applet-new/src/org/openstreetmap/processing/NodeMoveMode.java<br>===================================================================<br>--- C:/prog/workspace/osm-applet-new/src/org/openstreetmap/processing/NodeMoveMode.java (revision 2155)
<br>+++ C:/prog/workspace/osm-applet-new/src/org/openstreetmap/processing/NodeMoveMode.java (working copy)<br>@@ -44,7 +44,7 @@<br> lastOffsetY = n.coor.y - applet.mouseY;<br> origX = n.coor.x
;<br> origY = n.coor.y;<br>- applet.setOpacity(40); // make roads/nodes see through to ease accurate positioning<br>+ applet.setOpacity(100); // make roads/nodes see through to ease accurate positioning
<br> }<br> }<br> applet.debug("selected: " + applet.selectedNode);<br>===================================================================<br>
<br>Bugfix: The server responses are UTF-8 now:<br><br>Index: C:/prog/workspace/osm-applet-new/src/org/openstreetmap/client/OxParser.java<br>===================================================================<br>--- C:/prog/workspace/osm-applet-new/src/org/openstreetmap/client/OxParser.java (revision 2155)
<br>+++ C:/prog/workspace/osm-applet-new/src/org/openstreetmap/client/OxParser.java (working copy)<br>@@ -40,7 +40,7 @@<br> public OxParser(InputStream i) {<br> System.out.println("OSM XML parser started...");
<br> try {<br>- parse(new InputStreamReader(new BufferedInputStream(i, 1024), "ISO-8859-1"));<br>+ parse(new InputStreamReader(new BufferedInputStream(i, 1024), "UTF-8"));
<br> } catch (IOException e) {<br> System.out.println("IOException: " + e);<br> e.printStackTrace();<br>===================================================================<br>
<br><br>
<div>_______________________________________________<br>dev mailing list<br>dev@openstreetmap.org<br><a target="_blank" href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev</a><br></div></div><br></div></div><br>
<hr size=1>
Don't get soaked. Take a<a href="
http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news"> quick peak at the forecast </a><br> with the<a href="
http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news">Yahoo! Search weather shortcut.</a></body></html>