From: Robin M. <mar...@ci...> - 2012-02-27 15:25:19
|
Hi! This is how we have done it: 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; } Does somebody know a better solution? Best regards Robin Am 27.02.2012 um 15:52 schrieb Benoit Bégin: > As anyone been able to show a Kml layer using GWT-OpenLayers by specifying a URL to point to a Kml file ?? > > If so i would be really happy to see how its done ! > > Thank you in advance > Ben > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2_______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users |