Flight paths linking placemarks using Java Api For Kml(JAK)
Currently i'm having a project which requires to set placemarks and link them with polylines (i suppose), lines which have an arc to it, with properly segmented portions to the arc. I've been able to generate kml file with jak library. But i can't produce more den 1 placemark in the kml file. And i'm quite stuck at the link of paths.
http://www.barnabu.co.uk/google-earth-complete-us-air-routes/
This website is something that is close to what i'm required to do. I'm very开发者_开发百科 new towards kml and java so please help me out. Thanks in advance.
As I don't know where in the development process you are stuck, I may give only a generic advise at this stage:
It helped me a lot to create a sample KML file by hand and determine the structures I needed for my GE/API project. I then was able to select the correct functions to add elements to the KML tree dynamically. Check the code used by this page - maybe you can get some inspirations
Hope that helps
精彩评论