Specifies how the description balloon for placemarks is drawn. The , if
specified, is used as the background color of the balloon. See for a diagram
illustrating how the default description balloon appears in Google Earth.
setSubStyleObjectExtension(java.util.List<AbstractObject> subStyleObjectExtension)
Sets the value of the subStyleObjectExtension property Objects of the following type(s) are allowed in the list List.
void
setSubStyleSimpleExtension(java.util.List<java.lang.Object> subStyleSimpleExtension)
Sets the value of the subStyleSimpleExtension property Objects of the following type(s) are allowed in the list List
Color and opacity (alpha) values are expressed in hexadecimal notation. The range
of values for any one color is 0 to 255 (00 to ff). For alpha, 00 is fully transparent
and ff is fully opaque. The order of expression is aabbggrr, where aa=alpha (00
to ff); bb=blue (00 to ff); gg=green (00 to ff); rr=red (00 to ff). For example,
if you want to apply a blue color with 50 percent opacity to an overlay, you would
specify the following: 7fff0000, where alpha=0x7f, blue=0xff, green=0x00,
and red=0x00.
Color values are expressed in hexadecimal notation, including opacity (alpha) values.
The order of expression is alpha, blue, green, red (aabbggrr). The range of values
for any one color is 0 to 255 (00 to ff). For opacity, 00 is fully transparent and
ff is fully opaque. For example, if you want to apply a blue color with 50 percent
opacity to an overlay, you would specify the following: 7fff0000
Note: The element has been deprecated. Use instead.
bgColor
protected java.lang.String bgColor
Background color for the Snippet. Color and opacity values are expressed in hexadecimal
notation. The range of values for any one color is 0 to 255 (00 to ff). For alpha,
00 is fully transparent and ff is fully opaque. The order of expression is aabbggrr,
where aa=alpha (00 to ff); bb=blue (00 to ff); gg=green (00 to ff); rr=red (00 to
ff). For example, if you want to apply a blue color with 50 percent opacity to an
overlay, you would specify the following: 7fff0000, where alpha=0x7f,
blue=0xff, green=0x00, and red=0x00.
Background color of the balloon (optional). Color and opacity (alpha) values are
expressed in hexadecimal notation. The range of values for any one color is 0 to
255 (00 to ff). The order of expression is aabbggrr, where aa=alpha (00 to ff);
bb=blue (00 to ff); gg=green (00 to ff); rr=red (00 to ff). For alpha, 00 is fully
transparent and ff is fully opaque. For example, if you want to apply a blue color
with 50 percent opacity to an overlay, you would specify the following: 7fff0000,
where alpha=0x7f, blue=0xff, green=0x00, and red=0x00. The default is opaque white
(ffffffff).
Note: The use of the element within has been deprecated.
Use instead.
textColor
protected java.lang.String textColor
Foreground color for text. The default is black (ff000000).
text
protected java.lang.String text
For example, in the following KML excerpt, $[name] and $[description] fields will
be replaced by the and fields found in the Feature elements
that use this BalloonStyle: This is $[name], whose description is: $[description]
Text displayed in the balloon. If no text is specified, Google Earth draws the default
balloon (with the Feature in boldface, the Feature , links for
driving directions, a white background, and a tail that is attached to the point
coordinates of the Feature, if specified).
You can add entities to the tag using the following format to refer to a
child element of Feature: $[name], $[description], $[address], $[id], $[Snippet].
Google Earth looks in the current Feature for the corresponding string entity and
substitutes that information in the balloon. To include To here - From here driving
directions in the balloon, use the $[geDirections] tag. To prevent the driving directions
links from appearing in a balloon, include the element with some content,
or with $[description] to substitute the basic Feature .