App specific tweaks and customizations for KMZ file in Google Earth.
Change size and content of a photo balloon that shows when clicking on a point in Google Earth.
Scenario: You need to present the imported data in Google Earth to others and you need bigger image in the balloon and have some other data from the photo notes present in that balloon.
- Open kmz file in Google Earth for PC or Mac and right click on it’s root folder, click on Get Info:
Click on Style, Color:
Currently, by default, the app exports the following for the balloon style:
<h2>$[name]</h2><img width=‘280’ src='$[blcPoint/image]'/><p>$[blcPoint/audio/displayName]:$[blcPoint/audio]</p><br/>$[blcPoint/uuid/displayName]: <i>$[blcPoint/uuid]</i>.
If you want bigger balloon, fitting bigger image, change image width in <img width=‘280’ to something like 500 or bigger.
If you want image notes to be shown at the bottom instead of photo uuid, change the bottom:
<h3> Notes: $[blcPoint/imageNotes]</h3>.
Where these names are coming from? They are taken from the Google Earth document schema exported by the app. Following are available for the photo fields:
They are looking like this in the kml file:
<SimpleData name="address"><![CDATA[V třešňovce 229/14, 190 00 Prague, CZ]]></SimpleData>
<SimpleData name="imageNotes"><![CDATA[My title 2 Poznámka A+D V třešňovce 229/14, 190 00 Prague, CZ ]]></SimpleData>
Here is how the following balloon style:
<h2>$[name]</h2><img width='500' src='$[blcPoint/image]'/><p>
<h3> Notes: $[blcPoint/imageNotes]</h3>
Is shown as a balloon:
Hope this might help.
This is just to give you an idea. Please explore, have fun and let me know what else you’d need from the KMZ file.
Unpack kmz file to get access to original photos and plain text kml file with complete description of all photos and points.
KMZ file is just a zip file actually. Change extension to .zip, unzip and in the unzipped folder you’ll find a doc.kml xml/text file with all the photo/points data and plus all exported photos.
doc.kml file refers to images by unique identifiers and photo file names correspond to these uuids that you’ll find in the doc.kml file.