/[projects]/android/TrainInfoService/src/dk/thoerup/traininfoservice/RequestPlotter.java
ViewVC logotype

Diff of /android/TrainInfoService/src/dk/thoerup/traininfoservice/RequestPlotter.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 999 by torben, Sat Jul 17 06:20:41 2010 UTC revision 1000 by torben, Sat Jul 17 06:29:04 2010 UTC
# Line 155  public class RequestPlotter extends Http Line 155  public class RequestPlotter extends Http
155                  sb.append( " <name>" ).append(color).append("</name>\n");                  sb.append( " <name>" ).append(color).append("</name>\n");
156                  sb.append( " <open>0</open>\n" );                  sb.append( " <open>0</open>\n" );
157                                    
158                  for(RequestPosition current : list) {                                    int count=0;
159                          sb.append( " <Placemark>\n" );                  for(RequestPosition current : list) {
160                          sb.append( "  <name>").append(current.ip).append("</name>\n");                          String id = color + count++;
161                            sb.append( " <Placemark id=\"" + id + "\">\n" );
162                          sb.append( "  <styleUrl>#").append(color).append("</styleUrl>\n" );                          sb.append( "  <styleUrl>#").append(color).append("</styleUrl>\n" );
163                          sb.append( "  <description><![CDATA[IP=").append(current.ip).append("<br/>Time=").append(current.time).append("]]></description>\n" );                          sb.append( "  <description><![CDATA[IP=").append(current.ip).append("<br/>Time=").append(current.time).append("]]></description>\n" );
164                          sb.append( "  <Point><coordinates>").append(current.lng).append(",").append(current.lat).append(",0</coordinates></Point>\n" );                          sb.append( "  <Point><coordinates>").append(current.lng).append(",").append(current.lat).append(",0</coordinates></Point>\n" );

Legend:
Removed from v.999  
changed lines
  Added in v.1000

  ViewVC Help
Powered by ViewVC 1.1.20