GroundOverlay

@Serializable
data class GroundOverlay(val id: String? = null, val altitude: Double = 0.0, val altitudeMode: AltitudeMode = AltitudeMode.clampToGround, val latLonBox: LatLonBox? = null, val latLonQuad: LatLonQuad? = null) : Overlay

This element draws an image overlay draped onto the terrain. The child of Icon specifies the image to be used as the overlay. This file 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 LatLonBox bounds defined by the ground overlay.

Constructors

Link copied to clipboard
constructor(id: String? = null, altitude: Double = 0.0, altitudeMode: AltitudeMode = AltitudeMode.clampToGround, latLonBox: LatLonBox? = null, latLonQuad: LatLonQuad? = null)

Properties

Link copied to clipboard
@XmlPolyChildren(value = ["earth.worldwind.formats.kml.models.Camera", "earth.worldwind.formats.kml.models.LookAt"])
val abstractView: AbstractView?

Defines a viewpoint associated with any element derived from Feature. See Camera and LookAt.

Link copied to clipboard
@XmlElement
val address: String?

A string value representing an unstructured address written as a standard street, city, state address, and/or as a postal code. You can use the address tag to specify the location of a point instead of using latitude and longitude coordinates. (However, if a Point is provided, it takes precedence over the address.) To find out which locales are supported for this tag in Google Earth, go to the Google Maps Help.

Link copied to clipboard
@XmlElement
val altitude: Double

Specifies the distance above the earth's surface, in meters, and is interpreted according to the altitude mode.

Link copied to clipboard
@XmlElement
val altitudeMode: AltitudeMode

Specifies how the paltitude] is interpreted.

Link copied to clipboard
@XmlElement
val color: String?

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

Link copied to clipboard
@XmlElement
val description: String?

User-supplied content that appears in the description balloon.

Link copied to clipboard
@XmlElement
val drawOrder: Int

This element defines the stacking order for the images in overlapping overlays. Overlays with higher drawOrder values are drawn on top of overlays with lower drawOrder values.

Link copied to clipboard
@XmlElement
val extendedData: ExtendedData?

Allows you to add custom data to a KML file. This data can be (1) data that references an external XML schema, (2) untyped data/value pairs, or (3) typed data. A given KML Feature can contain a combination of these types of custom data.

Link copied to clipboard
@XmlElement
val icon: Icon?

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.

Link copied to clipboard
open override val id: String?
Link copied to clipboard
@XmlElement
val latLonBox: LatLonBox?

Specifies where the top, bottom, right, and left sides of a bounding box for the ground overlay are aligned.

Link copied to clipboard
@XmlElement
val latLonQuad: LatLonQuad?

Used for nonrectangular quadrilateral ground overlays.

Link copied to clipboard
@XmlElement
val name: String?

User-defined text displayed in the 3D viewer as the label for the object (for example, for a Placemark, Folder, or NetworkLink).

Link copied to clipboard
@XmlElement
@Serializable(with = FlexibleBooleanSerializer::class)
val open: Boolean

Boolean value. Specifies whether a Document or Folder appears closed or open when first loaded into the Places panel. 0=collapsed (the default), 1=expanded. See also ListStyle. This element applies only to Document, Folder, and NetworkLink.

Link copied to clipboard
@XmlElement
val phoneNumber: String?

A string value representing a telephone number. This element is used by Google Maps Mobile only. The industry standard for Java-enabled cellular phones is RFC2806. For more information, see http://www.ietf.org/rfc/rfc2806.txt.

Link copied to clipboard
@XmlElement
val region: Region?

Features and geometry associated with a Region are drawn only when the Region is active. See Region.

Link copied to clipboard
@XmlElement
val snippet: Snippet?

A short description of the feature.

Link copied to clipboard
@XmlPolyChildren(value = ["earth.worldwind.formats.kml.models.Style", "earth.worldwind.formats.kml.models.StyleMap"])
val styleSelector: List<StyleSelector>

One or more Styles and StyleMaps can be defined to customize the appearance of any element derived from Feature or of the Geometry in a Placemark. (See BalloonStyle, ListStyle, StyleSelector, and the styles derived from ColorStyle.) A style defined within a Feature is called an "inline style" and applies only to the Feature that contains it. A style defined as the child of a Document is called a "shared style." A shared style must have and id defined for it. This id is referenced by one or more Features within the Document. In cases where a style element is defined both in a shared style and in an inline style for a Feature—that is, a Folder, GroundOverlay, NetworkLink, Placemark, or ScreenOverlay—the value for the Feature's inline style takes precedence over the value for the shared style.

Link copied to clipboard
@XmlElement
val styleUrl: String?

URL of a Style or StyleMap defined in a Document. If the style is in the same file, use a # reference. If the style is defined in an external file, use a full URL along with # referencing.

Link copied to clipboard
@XmlPolyChildren(value = ["earth.worldwind.formats.kml.models.TimeSpan", "earth.worldwind.formats.kml.models.TimeStamp"])
val timePrimitive: TimePrimitive?

Associates this Feature with a period of time TimeSpan or a point in time TimeStamp.

Link copied to clipboard
@XmlElement
@Serializable(with = FlexibleBooleanSerializer::class)
val visibility: Boolean

Boolean value. Specifies whether the feature is drawn in the 3D viewer when it is initially loaded. In order for a feature to be visible, the visibility tag of all its ancestors must also be set to 1. In the Google Earth List View, each Feature has a checkbox that allows the user to control visibility of the Feature.