OGC 07-147r2
Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
127
12 Styles
12.1 kml:AbstractStyleSelectorGroup
12.1.1 Structure
kml:AbstractStyleSelectorGroup id=ID [0..1]
targetId=NCName [0..1] kml:ObjectSimpleExtensionGroup ... kml:ObjectSimpleExtensionGroup [0..]
kml:AbstractStyleSelectorSimpleExtensionGroup ... kml:AbstractStyleSelectorSimpleExtensionGroup [0..]
kml:AbstractStyleSelectorObjectExtensionGroup ... kml:AbstractStyleSelectorObjectExtensionGroup [0..]
kml:AbstractStyleSelectorGroup
12.1.2 Description
Abstract: yes This element can be used wherever the following element is referenced:
• kml:AbstractObjectGroup
The following elements can be used wherever this element is referenced:
• kml:Style • kml:StyleMap
12.1.3 Content
12.1.3.1 kml:AbstractStyleSelectorSimpleExtensionGroup
See 6.6.3.1 Simple Element Substitution.
12.1.3.2 kml:AbstractStyleSelectorObjectExtensionGroup
See 6.6.3.2 Complex Element Substitution.
OGC 07-147r2
128
Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
12.2 kml:Style
12.2.1 Structure
kml:Style id=ID [0..1]
targetId=NCName [0..1] kml:ObjectSimpleExtensionGroup ... kml:ObjectSimpleExtensionGroup [0..]
kml:AbstractStyleSelectorSimpleExtensionGroup ... kml:AbstractStyleSelectorSimpleExtensionGroup [0..]
kml:AbstractStyleSelectorObjectExtensionGroup ... kml:AbstractStyleSelectorObjectExtensionGroup [0..]
kml:IconStyle ... kml:IconStyle [0..1] kml:LabelStyle ... kml:LabelStyle [0..1]
kml:LineStyle ... kml:LineStyle [0..1] kml:PolyStyle ... kml:PolyStyle [0..1]
kml:BalloonStyle ... kml:BalloonStyle [0..1] kml:ListStyle ... kml:ListStyle [0..1]
kml:StyleSimpleExtensionGroup ... kml:StyleSimpleExtensionGroup [0..] kml:StyleObjectExtensionGroup ... kml:StyleObjectExtensionGroup [0..]
kml:Style
12.2.2 Description
This element can be used wherever the following element is referenced:
• kml:AbstractStyleSelectorGroup
Specifies a container of zero or more
kml:AbstractColorStyleGroup
elements that can referenced from a
kml:StyleMap
or
kml:AbstractFeatureGroup
. Styles affect how a
kml:AbstractGeometryGroup
is presented in the geographic view and how a
kml:AbstractFeatureGroup
appears in the list view.
kml:Scale
should contain at least one child element outside of an update context, that is when not a descendant of
kml:Update
. It is advised that
kml:x
,
kml:y
, and
kml:z
all be specified.
12.2.3 Content
12.2.3.1 kml:IconStyle
See 12.8 kml:IconStyle.
12.2.3.2 kml:LabelStyle
See 12.10 kml:LabelStyle.
OGC 07-147r2
Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
129
12.2.3.3 kml:LineStyle