Specifies how icons for point Placemarks are drawn, both in the Places panel and
in the 3D viewer of Google Earth. The element specifies the icon image. The
element specifies the x, y scaling of the icon. The color specified in the
element of is blended with the color of the .
Syntax:
<IconStyle id="ID">
<!-- inherited from ColorStyle -->
<color>ffffffff</color> <!-- kml:color -->
<colorMode>normal</colorMode> <!-- kml:colorModeEnum:normal or random -->
<!-- specific to IconStyle -->
<scale>1</scale> <!-- float -->
<heading>0</heading> <!-- float -->
<Icon>
<href>...</href>
</Icon>
<hotSpot x="0.5" y="0.5"
xunits="fraction" yunits="fraction"/> <!-- kml:vec2 -->
</IconStyle>
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
Scales a model along the x, y, and z axes in the model's coordinate space. 2.52.53.5
heading
protected double heading
Direction (azimuth) of the camera, in degrees. Default=0 (true North). (See diagram.)
Values range from 0 to 360 degrees.
Direction (that is, North, South, East, West), in degrees. Default=0 (North). (See
diagram below.) Values range from 0 to 360 degrees.
Direction (that is, North, South, East, West), in degrees. Default=0 (North). (See
diagram.) Values range from 0 to 360 degrees.
Rotation about the z axis (normal to the Earth's surface). A value of 0 (the default)
equals North. A positive rotation is clockwise around the z axis and specified in
degrees from 0 to 360.
A custom Icon. In , the only child element of is : :
An HTTP address or a local file specification used to load an icon.
Defines an image associated with an Icon style or overlay. has the same child
elements as . The required child element defines the location of the
image to be used as the overlay or as the icon for the placemark. This location
can either be on a local file system or a remote web server.
Defines the image associated with the Overlay. The element defines the location
of the image to be used as the Overlay. This location can be either on a local file
system or on a web server. If this element is omitted or contains no , a rectangle
is drawn using the color and size defined by the ground or screen overlay. icon.jpg
Specifies the position within the Icon that is "anchored" to the specified
in the Placemark. The x and y values can be specified in three different ways: as
pixels ("pixels"), as fractions of the icon ("fraction"), or as inset pixels ("insetPixels"),
which is an offset in pixels from the upper right corner of the icon. The x and
y positions can be specified in different ways—for example, x can be in pixels and
y can be a fraction. The origin of the coordinate system is in the lower left corner
of the icon. x - Either the number of pixels, a fractional component of the icon,
or a pixel inset indicating the x component of a point on the icon. y - Either the
number of pixels, a fractional component of the icon, or a pixel inset indicating
the y component of a point on the icon. xunits - Units in which the x value is specified.
A value of fraction indicates the x value is a fraction of the icon. A value of
pixels indicates the x value in pixels. A value of insetPixels indicates the indent
from the right edge of the icon. yunits - Units in which the y value is specified.
A value of fraction indicates the y value is a fraction of the icon. A value of
pixels indicates the y value in pixels. A value of insetPixels indicates the indent
from the top edge of the icon.