From: Robin M. <mar...@ci...> - 2012-03-08 17:21:18
|
Hi! Same answer as last time: private VectorFeature[] getFeaturesFromKML(String kml){ KML kmlReader= new KML(); kmlReader.getJSObject().setProperty("extractStyles", true); kmlReader.getJSObject().setProperty("extractAttributes", true); VectorFeature[] features= kmlReader.read(kml); return features; } Not sufficient? Best regards Robin Am 08.03.2012 um 17:47 schrieb Michael Schommer: > Hi, > > I have a URL which returns KML and want to diplay it on an OSM Map > with gwt-openlayers. > I think I should use the GML-layer. > > Can someone give me a small example (some lines of code) how to do > that with gwt-openlayers. > > Gruß > Michael > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users -- Universitaet Paderborn, C.I.K. Robin Marterer, M.Sc. Fon: +49(5251)60-2233 Fax: +49(5251)60-3206 E-Mail: mar...@ci... Pohlweg 47-49 33098 Paderborn http://www-cik.uni-paderborn.de |