Chapter 4. Styles and Icons

After reading this chapter, you’ll be able to do the following:

• List the six elements that define substyles for a KML feature.

• Create a shared style that makes all polygons the same color.

• Determine “who wins” when both a shared style and an inline style specify different values for the same SubStyle element.

• Create a simple custom <BalloonStyle>.

• Create a <StyleMap> that affects the appearance of an icon when the user mouses over it.

Get The KML Handbook: Geographic Visualization for the Web now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.