Questions tagged [jak]

Java API for KML (short: JAK) provides Java interfaces for easy access to KML (Keyhole Markup Language) data.

The "Java API for KML" is a library that contains a JAXB representation of the KML 2.2 XML schema. It is very handy for marshalling/unmarshalling KML files for manipulation in Java code.

JAK web site: http://labs.micromata.de/display/jak/Home

31 questions
1
vote
1 answer

Java API for KML / gx:Track

I've been trying to figure out how to create a gx:Track with the current version of the Java API for KML. Even though JAK claims to support the latest 2.2 extensions, the kml22gx.xsd that is packaged with the source code does not match the actual…
fbl
  • 2,840
  • 3
  • 33
  • 41
1
vote
0 answers

Google Maps KML text as marker

After reviewing the documentation for KML it seems like the only option to display text on a map is to use the screenoverlay. However that does not meet my requirement. Is is possible to display text, as a marker. This text will be dynamic and…
user3032973
  • 415
  • 2
  • 8
  • 26
1
vote
0 answers

Remove tags from IconStyle

I'm using the Java API for KML(JAK) to write some KML. Basically, I have a route and at each vertex of the route is a waypoint. Each waypoint has the potential for having a different icon image, so the desired KML looks something like…
Shaz
  • 1,376
  • 8
  • 18
1
vote
1 answer

KML marshal produces zero-length files

In Java code, I spawn a Thread which every second gathers DIS packets from a simulator, and tries to format KML output. In my Java code I am creating a Document, with Styles and Placemarks and Polygons. Once every second I can see that the "marshal"…
1
vote
1 answer

Google Earth: Retrieving icon URL from KML using JAK

I'm currently using JAK (Java API for KML) to interact with Google Earth and a customized KML file. I'm able to get/set the name, description, coordinates of a placemark using things like Placemark p.getName(), or point.getCoordinates(); into a…
MiHyeon
  • 13
  • 4
0
votes
0 answers

java how to import JAK API/library with eclipse

this is the API i want to use: https://labs.micromata.de/projects/jak/quickstart.html i tried to download and unzip the files (including JAXB) but i have no idea what to do with them. how do i add it to my project? i searched for how to add…
daniel
  • 151
  • 1
  • 13
0
votes
2 answers

JAK generated KML not work with Google My Maps

I write manually a KML file trying to import some polygons in MyMaps. This way works fine: