Codebase list libkmlframework-java / 268d7a4
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
2626
2727 protected String getIdAndTargetIdFormatted(Kml kml) {
2828 if (kml.isGenerateObjectIds() && id == null) {
29 setId(UUID.randomUUID().toString());
29 setId("id"+UUID.randomUUID().toString());
3030 }
3131 String result = "";
3232 if (id != null) {