OGC 07-147r2
Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
137
12.6.3.5 kml:BalloonStyleSimpleExtensionGroup
See 6.6.3.1 Simple Element Substitution.
12.6.3.6 kml:BalloonStyleObjectExtensionGroup
See 6.6.3.2 Complex Element Substitution.
OGC 07-147r2
138
Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
12.6.4 Example
kml xmlns=http:www.opengis.netkml2.2 Document
nameBalloonStyle.kmlname open1open
Style id=exampleBalloonStyle
BalloonStyle
-- a background color for the balloon -- bgColorffffffbbbgColor
-- styling of the balloon text -- text[CDATA[
bfont color=CC0000 size=+3[name]fontb brbr
font face=Courier[description]font brbr
Extra text that will appear in the description balloon brbr
-- insert the tofrom hyperlinks -- [geDirections]
]]text
BalloonStyle
Style Placemark
nameBalloonStylename descriptionAn example of BalloonStyledescription
styleUrlexampleBalloonStylestyleUrl Point
coordinates-122.370533,37.823842,0coordinates Point
Placemark Document
kml
12.7 kml:AbstractColorStyleGroup
12.7.1 Structure
kml:AbstractColorStyleGroup id=ID [0..1]
targetId=NCName [0..1] kml:AbstractObjectGroupSimpleExtensionGroup ...
kml:AbstractObjectGroupSimpleExtensionGroup [0..] kml:AbstractSubStyleSimpleExtensionGroup ...
kml:AbstractSubStyleSimpleExtensionGroup [0..] kml:AbstractSubStyleObjectExtensionGroup ...
kml:AbstractSubStyleObjectExtensionGroup [0..]
kml:color ... kml:color [0..1] kml:colorMode ... kml:colorMode [0..1]
kml:AbstractColorStyleSimpleExtensionGroup ... kml:AbstractColorStyleSimpleExtensionGroup [0..]
kml:AbstractColorStyleObjectExtensionGroup ... kml:AbstractColorStyleObjectExtensionGroup [0..]
kml:AbstractColorStyleGroup
OGC 07-147r2
Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
139
12.7.2 Description
Abstract: yes This element can be used wherever the following element is referenced:
• kml:AbstractSubStyleGroup
The following elements can be used wherever this element is referenced:
• kml:IconStyle • kml:LabelStyle
• kml:LineStyle • kml:PolyStyle
Provides elements for specifying the color and color mode of style types that derive from it.
12.7.3 Content
12.7.3.1 kml:color
12.7.3.1.1 Description
Specifies the color of the graphic element.
12.7.3.1.2 Content
Type: kml:colorType
Default Value: ffffffff
12.7.3.2 kml:colorMode
12.7.3.2.1 Description
Specifies the color mode of the graphic element.
12.7.3.2.2 Content
Type: kml:colorModeEnumType
Default Value: normal
12.7.3.3 kml:AbstractColorStyleSimpleExtensionGroup
See 6.6.3.1 Simple Element Substitution.