folder.createAndAddPlacemark() .withDescription(point.getHTMLDescription()) .withVisibility(true) folder.createAndAddPlacemark() .withDescription(line.getHTMLDescription()) .withVisibility(true).createAndSetLineString() FeatureTable featureTable = polygonTable.get(n); Placemark placemark = folder.createAndAddPlacemark() .withDescription(featureTable.getHTMLDescription()) .withVisibility(true);
String styleID = getKMLStyle(category, folder); folder.createAndAddPlacemark().withName(label) .withDescription(htmlDescription).withVisibility(true) .withStyleUrl("#" + styleID).createAndSetPoint() String category = getKMLCategory(lineFeature); String styleID = getKMLStyle(category, folder); folder.createAndAddPlacemark().withName(label) .withDescription(htmlDescription).withVisibility(true) .withStyleUrl("#" + styleID).createAndSetLineString() String htmlDescription = getHTMLDescription(polygonFeature); String styleID = getKMLStyle(category, folder); Placemark placemark = folder.createAndAddPlacemark() .withName(label).withDescription(htmlDescription) .withVisibility(true).withStyleUrl("#" + styleID);