Currently I'm working on a project which requires to set placemarks. How can I do so? I'm usin开发者_开发百科g JSP + Tomcat to execute the application. Any response is welcome because I'm new to JSP and KML.
Thanks in advance.
As a high-level answer I would propose to use the Google Maps API or the Google Earth API together with Javascript. This is a good approach to capture user interaction with maps and earth views, retrieve and process geographical user input, setting/displaying placemarks etc.
best to start here
playground with lots of examples (earth, maps, etc.)
If you need dynamical generated KML, you shoud read about NetworkLink. It allows to add link as URL. Your app cat generated KML with placemark and via NetworkLink KML appears in GooglEarth. Read about NetworkLink
精彩评论