Examples of KmlFeedWriter


Examples of com.esri.gpt.control.georss.KmlFeedWriter

* @param record record to write
*/
private void printKml(MessageBroker msgBroker, PrintWriter writer, final SearchResultRecord record) {
  SearchResultRecords records = new SearchResultRecords();
  records.add(record);
  KmlFeedWriter kmlWriter = new KmlFeedWriter(msgBroker, writer);
  kmlWriter.setKmlSignatureProvider(new KmlSignatureProvider() {
    public String getTitle() {
      return record.getTitle();
    }
    public String getDescription() {
      return record.getAbstract();
    }
  });
  kmlWriter.write(new SearchResultRecordsAdapter(records));
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.