/[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 987 by torben, Sun Jul 11 17:12:23 2010 UTC revision 998 by torben, Sat Jul 17 06:09:01 2010 UTC
# Line 158  public class RequestPlotter extends Http Line 158  public class RequestPlotter extends Http
158                  for(RequestPosition current : list) {                                    for(RequestPosition current : list) {                  
159                          sb.append( " <Placemark>\n" );                          sb.append( " <Placemark>\n" );
160                          sb.append( "  <styleUrl>#").append(color).append("</styleUrl>\n" );                          sb.append( "  <styleUrl>#").append(color).append("</styleUrl>\n" );
161                          sb.append( "  <description>IP=").append(current.ip).append("  Time=").append(current.time).append("</description>\n" );                          sb.append( "  <description><![CDATA[IP=").append(current.ip).append("<br/>Time=").append(current.time).append("]]></description>\n" );
162                          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" );
163                          sb.append( " </Placemark>\n" );                                          sb.append( " </Placemark>\n" );                
164                  }                                }              
# Line 193  public class RequestPlotter extends Http Line 193  public class RequestPlotter extends Http
193                  sb.append( " </Style>\n\n" );                  sb.append( " </Style>\n\n" );
194                                    
195                  sb.append( " <Style id=\"blue\">\n" );                  sb.append( " <Style id=\"blue\">\n" );
196                  sb.append( "  <IconStyle><Icon><href>http://maps.google.com/mapfiles/kml/paddle/blue-circle.png</href></Icon></IconStyle>\n" );                  sb.append( "  <IconStyle><Icon><href>http://maps.google.com/mapfiles/kml/paddle/blu-circle.png</href></Icon></IconStyle>\n" );
197                  sb.append( " </Style>\n\n" );                            sb.append( " </Style>\n\n" );          
198  /*  /*
199                  String overlay =                  String overlay =

Legend:
Removed from v.987  
changed lines
  Added in v.998

  ViewVC Help
Powered by ViewVC 1.1.20