157 |
|
|
158 |
for(RequestPosition current : list) { |
for(RequestPosition current : list) { |
159 |
sb.append( " <Placemark>\n" ); |
sb.append( " <Placemark>\n" ); |
160 |
|
sb.append( " <name>").append(current.ip).append("</name>\n"); |
161 |
sb.append( " <styleUrl>#").append(color).append("</styleUrl>\n" ); |
sb.append( " <styleUrl>#").append(color).append("</styleUrl>\n" ); |
162 |
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" ); |
163 |
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" ); |
164 |
sb.append( " </Placemark>\n" ); |
sb.append( " </Placemark>\n" ); |
165 |
} |
} |
194 |
sb.append( " </Style>\n\n" ); |
sb.append( " </Style>\n\n" ); |
195 |
|
|
196 |
sb.append( " <Style id=\"blue\">\n" ); |
sb.append( " <Style id=\"blue\">\n" ); |
197 |
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" ); |
198 |
sb.append( " </Style>\n\n" ); |
sb.append( " </Style>\n\n" ); |
199 |
/* |
/* |
200 |
String overlay = |
String overlay = |