public class GroundOverlay extends Overlay implements Cloneable
This element draws an image overlay draped onto the terrain. The
<GroundOverlay id="ID"> <!-- inherited from Feature element --> <name>...</name> <!-- string --> <visibility>1</visibility> <!-- boolean --> <open>0</open> <!-- boolean --> <atom:author>...<atom:author> <!-- xmlns:atom --> <atom:link>...</atom:link> <!-- xmlns:atom --> <address>...</address> <!-- string --> <xal:AddressDetails>...</xal:AddressDetails> <!-- xmlns:xal -->Extends:
<phoneNumber>...</phoneNumber> <!-- string -->
<Snippet maxLines="2">...</Snippet> <!-- string --> <description>...</description> <!-- string --> <AbstractView>...</AbstractView> <!-- Camera or LookAt --> <TimePrimitive>...</TimePrimitive> <styleUrl>...</styleUrl> <!-- anyURI --> <StyleSelector>...</StyleSelector> <Region>...</Region> <Metadata>...</Metadata> <!-- deprecated in KML 2.2 --> <ExtendedData>...</ExtendedData> <!-- new in KML 2.2 --> <!-- inherited from Overlay element --> <color>ffffffff</color> <!-- kml:color --> <drawOrder>0</drawOrder> <!-- int --> <Icon>...</Icon> <!-- specific to GroundOverlay --> <altitude>0</altitude> <!-- double --> <altitudeMode>clampToGround</altitudeMode> <!-- kml:altitudeModeEnum: clampToGround or absolute --> <!-- or, substitute gx:altitudeMode: clampToSeaFloor or relativeToSeaFloor --> <LatLonBox> <north>...</north> <! kml:angle90 --> <south>...</south> <! kml:angle90 --> <east>...</east> <! kml:angle180 --> <west>...</west> <! kml:angle180 --> <rotation>0</rotation> <! kml:angle180 --> </LatLonBox> </GroundOverlay>
| Modifier and Type | Field and Description |
|---|---|
protected double |
altitude
|
protected AltitudeMode |
altitudeMode
AltitudeMode
clampToGround, relativeToGround, absolute
See Also:
See
|
protected List<AbstractObject> |
groundOverlayObjectExtension
|
protected List<Object> |
groundOverlaySimpleExtension |
protected LatLonBox |
latLonBox
|
color, drawOrder, icon, overlayObjectExtension, overlaySimpleExtensionabstractView, address, atomAuthor, atomLink, description, extendedData, featureObjectExtension, featureSimpleExtension, metadata, name, open, phoneNumber, region, snippet, snippetd, styleSelector, styleUrl, timePrimitive, visibility, xalAddressDetailsid, objectSimpleExtension, targetId| Constructor and Description |
|---|
GroundOverlay() |
createAndSetIcon, getColor, getDrawOrder, getIcon, getOverlayObjectExtension, getOverlaySimpleExtension, setColor, setDrawOrder, setIconcreateAndAddStyle, createAndAddStyleMap, createAndSetAtomAuthor, createAndSetAtomLink, createAndSetCamera, createAndSetExtendedData, createAndSetLookAt, createAndSetMetadata, createAndSetRegion, createAndSetSnippet, createAndSetTimeSpan, createAndSetTimeStamp, createAndSetXalAddressDetails, getAbstractView, getAddress, getAtomAuthor, getAtomLink, getDescription, getExtendedData, getFeatureObjectExtension, getFeatureSimpleExtension, getMetadata, getName, getPhoneNumber, getRegion, getSnippet, getSnippetd, getStyleSelector, getStyleUrl, getTimePrimitive, getXalAddressDetails, isOpen, isVisibility, setAbstractView, setAddress, setAtomAuthor, setAtomLink, setDescription, setExtendedData, setMetadata, setName, setOpen, setPhoneNumber, setRegion, setSnippet, setSnippetd, setStyleUrl, setTimePrimitive, setVisibility, setXalAddressDetailsgetId, getObjectSimpleExtension, getTargetId, setId, setTargetIdprotected double altitude
Distance from the earth's surface, in meters. Interpreted according to the LookAt's altitude mode.
Distance of the camera from the earth's surface, in meters. Interpreted according
to the Camera's
Specifies the distance above the earth's surface, in meters, and is interpreted according to the altitude mode.
protected AltitudeMode altitudeMode
clampToGround, relativeToGround, absolute
See Also: Seeprotected LatLonBox latLonBox
Specifies where the top, bottom, right, and left sides of a bounding box for the
ground overlay are aligned.
protected List<AbstractObject> groundOverlayObjectExtension
public double getAltitude()
Doublealtitudepublic void setAltitude(double value)
value - allowed object is
Doublealtitudepublic AltitudeMode getAltitudeMode()
<Object
<AltitudeMode
<de.micromata.opengis.kml.v_2_2_0.gx.AltitudeModealtitudeModepublic void setAltitudeMode(AltitudeMode value)
value - allowed object is
<Object
<AltitudeMode
<de.micromata.opengis.kml.v_2_2_0.gx.AltitudeModealtitudeModepublic void setLatLonBox(LatLonBox value)
value - allowed object is
LatLonBoxlatLonBoxpublic List<Object> getGroundOverlaySimpleExtension()
groundOverlaySimpleExtensionpublic List<AbstractObject> getGroundOverlayObjectExtension()
groundOverlayObjectExtensionpublic LatLonBox createAndSetLatLonBox()
LatLonBox and set it to latLonBox.
This method is a short version for:
LatLonBox latLonBox = new LatLonBox();
this.setLatLonBox(latLonBox); public void setGroundOverlaySimpleExtension(List<Object> groundOverlaySimpleExtension)
groundOverlaySimpleExtension - groundOverlaySimpleExtensionpublic GroundOverlay addToGroundOverlaySimpleExtension(Object groundOverlaySimpleExtension)
groundOverlaySimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setGroundOverlayObjectExtension(List<AbstractObject> groundOverlayObjectExtension)
groundOverlayObjectExtension - groundOverlayObjectExtensionpublic GroundOverlay addToGroundOverlayObjectExtension(AbstractObject groundOverlayObjectExtension)
groundOverlayObjectExtension - Objects of the following type are allowed in the list: <LatLonQuadJAXBElement<AbstractObjectpublic void setObjectSimpleExtension(List<Object> objectSimpleExtension)
setObjectSimpleExtension in class OverlayobjectSimpleExtensionpublic GroundOverlay addToObjectSimpleExtension(Object objectSimpleExtension)
AbstractObjectaddToObjectSimpleExtension in class OverlayobjectSimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setStyleSelector(List<StyleSelector> styleSelector)
setStyleSelector in class OverlaystyleSelectorpublic GroundOverlay addToStyleSelector(StyleSelector styleSelector)
FeatureaddToStyleSelector in class OverlaystyleSelector - Objects of the following type are allowed in the list: <StyleJAXBElement<StyleSelectorJAXBElement<StyleMappublic void setFeatureSimpleExtension(List<Object> featureSimpleExtension)
setFeatureSimpleExtension in class OverlayfeatureSimpleExtensionpublic GroundOverlay addToFeatureSimpleExtension(Object featureSimpleExtension)
FeatureaddToFeatureSimpleExtension in class OverlayfeatureSimpleExtension - Objects of the following type are allowed in the list: <DoubleJAXBElement<ObjectJAXBElement<Booleanpublic void setFeatureObjectExtension(List<AbstractObject> featureObjectExtension)
setFeatureObjectExtension in class OverlayfeatureObjectExtensionpublic GroundOverlay addToFeatureObjectExtension(AbstractObject featureObjectExtension)
FeatureaddToFeatureObjectExtension in class OverlayfeatureObjectExtension - Objects of the following type are allowed in the list: AbstractObjectpublic void setOverlaySimpleExtension(List<Object> overlaySimpleExtension)
setOverlaySimpleExtension in class OverlayoverlaySimpleExtensionpublic GroundOverlay addToOverlaySimpleExtension(Object overlaySimpleExtension)
OverlayaddToOverlaySimpleExtension in class OverlayoverlaySimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setOverlayObjectExtension(List<AbstractObject> overlayObjectExtension)
setOverlayObjectExtension in class OverlayoverlayObjectExtensionpublic GroundOverlay addToOverlayObjectExtension(AbstractObject overlayObjectExtension)
OverlayaddToOverlayObjectExtension in class OverlayoverlayObjectExtension - Objects of the following type are allowed in the list: AbstractObjectpublic GroundOverlay withAltitude(double altitude)
altitude - required parametersetAltitude(double)public GroundOverlay withAltitudeMode(AltitudeMode altitudeMode)
altitudeMode - required parameter#setAltitudeMode(Object)public GroundOverlay withLatLonBox(LatLonBox latLonBox)
latLonBox - required parametersetLatLonBox(LatLonBox)public GroundOverlay withGroundOverlaySimpleExtension(List<Object> groundOverlaySimpleExtension)
groundOverlaySimpleExtension - required parameter#setGroundOverlaySimpleExtension(Listpublic GroundOverlay withGroundOverlayObjectExtension(List<AbstractObject> groundOverlayObjectExtension)
groundOverlayObjectExtension - required parameter#setGroundOverlayObjectExtension(List) public GroundOverlay withObjectSimpleExtension(List<Object> objectSimpleExtension)
AbstractObjectwithObjectSimpleExtension in class OverlayobjectSimpleExtension - required parameter#setObjectSimpleExtension(Listpublic GroundOverlay withId(String id)
AbstractObjectwithId in class Overlayid - required parameterAbstractObject.setId(String)public GroundOverlay withTargetId(String targetId)
AbstractObjectwithTargetId in class OverlaytargetId - required parameterAbstractObject.setTargetId(String)public GroundOverlay withName(String name)
FeaturewithName in class Overlayname - required parameterFeature.setName(String)public GroundOverlay withVisibility(Boolean visibility)
FeaturewithVisibility in class Overlayvisibility - required parameterFeature.setVisibility(Boolean)public GroundOverlay withOpen(Boolean open)
FeaturewithOpen in class Overlayopen - required parameterFeature.setOpen(Boolean)public GroundOverlay withAtomAuthor(Author atomAuthor)
FeaturewithAtomAuthor in class OverlayatomAuthor - required parameterFeature.setAtomAuthor(Author)public GroundOverlay withAtomLink(Link atomLink)
FeaturewithAtomLink in class OverlayatomLink - required parameterFeature.setAtomLink(Link)public GroundOverlay withAddress(String address)
FeaturewithAddress in class Overlayaddress - required parameterFeature.setAddress(String)public GroundOverlay withXalAddressDetails(AddressDetails xalAddressDetails)
FeaturewithXalAddressDetails in class OverlayxalAddressDetails - required parameterFeature.setXalAddressDetails(AddressDetails)public GroundOverlay withPhoneNumber(String phoneNumber)
FeaturewithPhoneNumber in class OverlayphoneNumber - required parameterFeature.setPhoneNumber(String)public GroundOverlay withSnippet(Snippet snippet)
FeaturewithSnippet in class Overlaysnippet - required parameterFeature.setSnippet(Snippet)public GroundOverlay withSnippetd(String snippetd)
FeaturewithSnippetd in class Overlaysnippetd - required parameterFeature.setSnippetd(String)public GroundOverlay withDescription(String description)
FeaturewithDescription in class Overlaydescription - required parameterFeature.setDescription(String)public GroundOverlay withAbstractView(AbstractView abstractView)
FeaturewithAbstractView in class OverlayabstractView - required parameterFeature.setAbstractView(AbstractView)public GroundOverlay withTimePrimitive(TimePrimitive timePrimitive)
FeaturewithTimePrimitive in class OverlaytimePrimitive - required parameterFeature.setTimePrimitive(TimePrimitive)public GroundOverlay withStyleUrl(String styleUrl)
FeaturewithStyleUrl in class OverlaystyleUrl - required parameterFeature.setStyleUrl(String)public GroundOverlay withStyleSelector(List<StyleSelector> styleSelector)
FeaturewithStyleSelector in class OverlaystyleSelector - required parameter#setStyleSelector(List) public GroundOverlay withRegion(Region region)
FeaturewithRegion in class Overlayregion - required parameterFeature.setRegion(Region)public GroundOverlay withMetadata(Metadata metadata)
FeaturewithMetadata in class Overlaymetadata - required parameterFeature.setMetadata(Metadata)public GroundOverlay withExtendedData(ExtendedData extendedData)
FeaturewithExtendedData in class OverlayextendedData - required parameterFeature.setExtendedData(ExtendedData)public GroundOverlay withFeatureSimpleExtension(List<Object> featureSimpleExtension)
FeaturewithFeatureSimpleExtension in class OverlayfeatureSimpleExtension - required parameter#setFeatureSimpleExtension(Listpublic GroundOverlay withFeatureObjectExtension(List<AbstractObject> featureObjectExtension)
FeaturewithFeatureObjectExtension in class OverlayfeatureObjectExtension - required parameter#setFeatureObjectExtension(List) public GroundOverlay withColor(String color)
OverlaywithColor in class Overlaycolor - required parameterOverlay.setColor(String)public GroundOverlay withDrawOrder(int drawOrder)
OverlaywithDrawOrder in class OverlaydrawOrder - required parameterOverlay.setDrawOrder(int)public GroundOverlay withIcon(Icon icon)
OverlaywithIcon in class Overlayicon - required parameterOverlay.setIcon(Icon)public GroundOverlay withOverlaySimpleExtension(List<Object> overlaySimpleExtension)
OverlaywithOverlaySimpleExtension in class OverlayoverlaySimpleExtension - required parameter#setOverlaySimpleExtension(Listpublic GroundOverlay withOverlayObjectExtension(List<AbstractObject> overlayObjectExtension)
OverlaywithOverlayObjectExtension in class OverlayoverlayObjectExtension - required parameter#setOverlayObjectExtension(List) public GroundOverlay clone()
Copyright © 2014 Micromata GmbH. All rights reserved.