简体   繁体   中英

parse KML in Google Web Toolkit

I have a kml file which I want to present on a map. I'm using Google Maps v3 for GWT. However, I've read that the kml file should be on a public server.I've searched for methods that can use local kml files, but all of them regard Javascript, not java.

Is there a way to use local KML files in Google Web Toolkit? Should I use an XML parser instead and then try to work on the results?

I managed to present my kml file on my map, usinh geoxml3 JS. I call JS functions from my GWT project and I use JS to present my kml on the map. However, I still haven't find a way to remove the layers from my map...!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM