目前我有一个项目需要设置地标并将它们与折线(我想)链接起来,折线有一条弧线,弧线有正确分割的部分。我已经能够使用 jak 库生成 kml 文件。但我无法在 kml 文件中生成更多 den 1 地标。而且我非常卡在路径的链接上。
http://www.barnabu.co.uk/google-earth-complete-us-air-routes/
该网站与我需要做的事情很接近。我对 kml 和 java 很陌生,所以请帮帮我。提前致谢。
目前我有一个项目需要设置地标并将它们与折线(我想)链接起来,折线有一条弧线,弧线有正确分割的部分。我已经能够使用 jak 库生成 kml 文件。但我无法在 kml 文件中生成更多 den 1 地标。而且我非常卡在路径的链接上。
http://www.barnabu.co.uk/google-earth-complete-us-air-routes/
该网站与我需要做的事情很接近。我对 kml 和 java 很陌生,所以请帮帮我。提前致谢。
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