fastkml
fastkml copied to clipboard
ground overlay example
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
<name>SPEED-NORAIN_RAPIDSCAT_999_201504042251_201504050024</name>
<open>0</open>
<GroundOverlay>
<Icon>
<href>SPEED-NORAIN_RAPIDSCAT_999_201504042251_201504050024.png</href>
</Icon>
<LatLonBox>
<north>60.0</north><south>-60.0</south><east>179</east><west>-180</west>
</LatLonBox>
</GroundOverlay>
</Document>
</kml>
Don't hrefs need to be server side with an entire url if their not zipped into a kmz just right? I was never able to attach any image locally it was a real pain in the ass. I'm guessing your wanting to display an image of a satellite?
She aint pretty lol I just took the first picture on the page:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
<name>SPEED-NORAIN_RAPIDSCAT_999_201504042251_201504050024</name>
<open>0</open>
<GroundOverlay>
<Icon>
<href>https://winds.jpl.nasa.gov/images/RapidScat-image.jpg</href>
</Icon>
<LatLonBox>
<north>60.0</north><south>-60.0</south><east>179</east><west>-180</west>
</LatLonBox>
</GroundOverlay>
</Document>
</kml>
An easier to see version (still ugly I found most hrefs were)
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
<name>SPEED-NORAIN_RAPIDSCAT_999_201504042251_201504050024</name>
<open>0</open>
<GroundOverlay>
<Icon>
<href>https://winds.jpl.nasa.gov/images/RapidScat-image.jpg</href>
</Icon>
<LatLonBox>
<north>30</north><south>29.5</south><east>43</east><west>42.5</west>
</LatLonBox>
</GroundOverlay>
</Document>
</kml>