Chapter Overview
Styles allow you to define a custom treatment for icons, lines, polygons, balloons, and list view entries. You can create a special style for all the lines, balloons, labels, and polygons in your presentation, or you can create multiple styles to convey different types of information and meaning. In KML, features and geometries are specified along with their styles. KML does not employ styling mechanisms such as Cascading Style Sheets (CSS) and Styled Label Descriptor (SLD), which separate content from style. See the section “Defining Styles Externally” later in the chapter for more information on this topic.
A Style is actually a collection of the following substyles:
• <IconStyle>
• <LabelStyle>
• <LineStyle>
• <PolyStyle> ...
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.