Chapter 17 — History and Planning with Google Earth 331
Adding Detail to a Placemark
The info window in Google Maps is an effective way of providing more detailed information
for a placemark. Google Earth automatically creates these windows based on information
within the
placemark can be described using this:
The content in this section can be plain text, as shown here, but it can also be HTML. To
embed HTML it must be escaped. There is a longer solution for this that requires escaping the
HTML (particularly the angle brackets), like this:
temple. <img src=”images/DSC01155.JPG”>
A simpler method is to use the XML data embedding format. For example, you could include
the photo in the placemark window using the following:
Using this method, the points on the map could be returned to standard placemarks and the
placemark window used to display the photo.
Final KML.
Putting everything in the previous sections together, you can build a single KML file that
describes a number of points, and the photos taken at those points, for the trip to Pompeii.
Only three points are detailed here, but an unlimited number could theoretically be introduced:
<?xml version=”1.0” encoding=”UTF-8”?>