Added "id" before all object IDs to make the generated KML conform to the standard of requiring the ID to begin with a-z, not a number. This defect was described in Issue 10. Thanks JB.
Updownquark
12 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
src/org/boehn/kmlframework/kml/KmlObject.java
less
more
26
26
27
27
protected String getIdAndTargetIdFormatted(Kml kml) {
28
28
if (kml.isGenerateObjectIds() && id == null) {
29
setId(UUID.randomUUID().toString());
29
setId("id"+UUID.randomUUID().toString());
30
30
}
31
31
String result = "";
32
32
if (id != null) {