public class PhotoOverlay extends Overlay implements Cloneable
Because
For more information, see the "Topics in KML" page on PhotoOverlay.
The
The URL for the PhotoOverlay image is specified in the
| Modifier and Type | Field and Description |
|---|---|
protected ImagePyramid |
imagePyramid
|
protected List<AbstractObject> |
photoOverlayObjectExtension
|
protected List<Object> |
photoOverlaySimpleExtension |
protected Point |
point
|
protected double |
rotation
|
protected Shape |
shape
Shape
rectangle, cylinder, sphere
See Also:
See
|
protected ViewVolume |
viewVolume
|
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 |
|---|
PhotoOverlay() |
| Modifier and Type | Method and Description |
|---|---|
PhotoOverlay |
addToFeatureObjectExtension(AbstractObject featureObjectExtension)
add a value to the featureObjectExtension property collection
|
PhotoOverlay |
addToFeatureSimpleExtension(Object featureSimpleExtension)
add a value to the featureSimpleExtension property collection
|
PhotoOverlay |
addToObjectSimpleExtension(Object objectSimpleExtension)
add a value to the objectSimpleExtension property collection
|
PhotoOverlay |
addToOverlayObjectExtension(AbstractObject overlayObjectExtension)
add a value to the overlayObjectExtension property collection
|
PhotoOverlay |
addToOverlaySimpleExtension(Object overlaySimpleExtension)
add a value to the overlaySimpleExtension property collection
|
PhotoOverlay |
addToPhotoOverlayObjectExtension(AbstractObject photoOverlayObjectExtension)
add a value to the photoOverlayObjectExtension property collection
|
PhotoOverlay |
addToPhotoOverlaySimpleExtension(Object photoOverlaySimpleExtension)
add a value to the photoOverlaySimpleExtension property collection
|
PhotoOverlay |
addToStyleSelector(StyleSelector styleSelector)
add a value to the styleSelector property collection
|
PhotoOverlay |
clone() |
ImagePyramid |
createAndSetImagePyramid()
Creates a new instance of
ImagePyramid and set it to imagePyramid. |
Point |
createAndSetPoint()
Creates a new instance of
Point and set it to point. |
ViewVolume |
createAndSetViewVolume()
Creates a new instance of
ViewVolume and set it to viewVolume. |
boolean |
equals(Object obj) |
ImagePyramid |
getImagePyramid() |
List<AbstractObject> |
getPhotoOverlayObjectExtension() |
List<Object> |
getPhotoOverlaySimpleExtension() |
Point |
getPoint() |
double |
getRotation() |
Shape |
getShape() |
ViewVolume |
getViewVolume() |
int |
hashCode() |
void |
setFeatureObjectExtension(List<AbstractObject> featureObjectExtension) |
void |
setFeatureSimpleExtension(List<Object> featureSimpleExtension) |
void |
setImagePyramid(ImagePyramid value) |
void |
setObjectSimpleExtension(List<Object> objectSimpleExtension) |
void |
setOverlayObjectExtension(List<AbstractObject> overlayObjectExtension) |
void |
setOverlaySimpleExtension(List<Object> overlaySimpleExtension) |
void |
setPhotoOverlayObjectExtension(List<AbstractObject> photoOverlayObjectExtension) |
void |
setPhotoOverlaySimpleExtension(List<Object> photoOverlaySimpleExtension) |
void |
setPoint(Point value) |
void |
setRotation(double value) |
void |
setShape(Shape value) |
void |
setStyleSelector(List<StyleSelector> styleSelector) |
void |
setViewVolume(ViewVolume value) |
PhotoOverlay |
withAbstractView(AbstractView abstractView)
fluent setter
|
PhotoOverlay |
withAddress(String address)
fluent setter
|
PhotoOverlay |
withAtomAuthor(Author atomAuthor)
fluent setter
|
PhotoOverlay |
withAtomLink(Link atomLink)
fluent setter
|
PhotoOverlay |
withColor(String color)
fluent setter
|
PhotoOverlay |
withDescription(String description)
fluent setter
|
PhotoOverlay |
withDrawOrder(int drawOrder)
fluent setter
|
PhotoOverlay |
withExtendedData(ExtendedData extendedData)
fluent setter
|
PhotoOverlay |
withFeatureObjectExtension(List<AbstractObject> featureObjectExtension)
fluent setter
|
PhotoOverlay |
withFeatureSimpleExtension(List<Object> featureSimpleExtension)
fluent setter
|
PhotoOverlay |
withIcon(Icon icon)
fluent setter
|
PhotoOverlay |
withId(String id)
fluent setter
|
PhotoOverlay |
withImagePyramid(ImagePyramid imagePyramid)
fluent setter
|
PhotoOverlay |
withMetadata(Metadata metadata)
fluent setter
|
PhotoOverlay |
withName(String name)
fluent setter
|
PhotoOverlay |
withObjectSimpleExtension(List<Object> objectSimpleExtension)
fluent setter
|
PhotoOverlay |
withOpen(Boolean open)
fluent setter
|
PhotoOverlay |
withOverlayObjectExtension(List<AbstractObject> overlayObjectExtension)
fluent setter
|
PhotoOverlay |
withOverlaySimpleExtension(List<Object> overlaySimpleExtension)
fluent setter
|
PhotoOverlay |
withPhoneNumber(String phoneNumber)
fluent setter
|
PhotoOverlay |
withPhotoOverlayObjectExtension(List<AbstractObject> photoOverlayObjectExtension)
fluent setter
|
PhotoOverlay |
withPhotoOverlaySimpleExtension(List<Object> photoOverlaySimpleExtension)
fluent setter
|
PhotoOverlay |
withPoint(Point point)
fluent setter
|
PhotoOverlay |
withRegion(Region region)
fluent setter
|
PhotoOverlay |
withRotation(double rotation)
fluent setter
|
PhotoOverlay |
withShape(Shape shape)
fluent setter
|
PhotoOverlay |
withSnippet(Snippet snippet)
fluent setter
|
PhotoOverlay |
withSnippetd(String snippetd)
fluent setter
|
PhotoOverlay |
withStyleSelector(List<StyleSelector> styleSelector)
fluent setter
|
PhotoOverlay |
withStyleUrl(String styleUrl)
fluent setter
|
PhotoOverlay |
withTargetId(String targetId)
fluent setter
|
PhotoOverlay |
withTimePrimitive(TimePrimitive timePrimitive)
fluent setter
|
PhotoOverlay |
withViewVolume(ViewVolume viewVolume)
fluent setter
|
PhotoOverlay |
withVisibility(Boolean visibility)
fluent setter
|
PhotoOverlay |
withXalAddressDetails(AddressDetails xalAddressDetails)
fluent setter
|
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 rotation
Adjusts how the photo is placed inside the field of view. This element is useful if your photo has been rotated and deviates slightly from a desired horizontal view.
Indicates the angle of rotation of the parent object. A value of 0 means no rotation.
The value is an angle in degrees counterclockwise starting from north. Use ±180
to indicate the rotation of the parent object from 0. The center of the
protected ViewVolume viewVolume
Defines how much of the current scene is visible. Specifying the field of view is analogous to specifying the lens opening in a physical camera. A small field of view, like a telephoto lens, focuses on a small part of the scene. A large field of view, like a wide-angle lens, focuses on a large part of the scene.
protected ImagePyramid imagePyramid
For very large images, you'll need to construct an image pyramid, which is a hierarchical set of images, each of which is an increasingly lower resolution version of the original image. Each image in the pyramid is subdivided into tiles, so that only the portions in view need to be loaded. Google Earth calculates the current viewpoint and loads the tiles that are appropriate to the user's distance from the image. As the viewpoint moves closer to the PhotoOverlay, Google Earth loads higher resolution tiles. Since all the pixels in the original image can't be viewed on the screen at once, this preprocessing allows Google Earth to achieve maximum performance because it loads only the portions of the image that are in view, and only the pixel details that can be discerned by the user at the current viewpoint.
When you specify an image pyramid, you also modify the
protected Point point
A geographic location defined by longitude, latitude, and (optional) altitude. When a Point is contained by a Placemark, the point itself determines the position of the Placemark's name and icon. When a Point is extruded, it is connected to the ground with a line. This "tether" uses the current LineStyle.
The
<Point id="ID">
<!-- specific to Point -->
<extrude>0</extrude> <!-- boolean -->
<altitudeMode>clampToGround</altitudeMode>
<!-- kml:altitudeModeEnum: clampToGround, relativeToGround, or absolute -->
<!-- or, substitute gx:altitudeMode: clampToSeaFloor, relativeToSeaFloor -->
<coordinates>...</coordinates> <!-- lon,lat[,alt] -->
</Point>
Extends:protected Shape shape
rectangle, cylinder, sphere
See Also: Seeprotected List<AbstractObject> photoOverlayObjectExtension
public double getRotation()
Doublerotationpublic void setRotation(double value)
value - allowed object is
Doublerotationpublic ViewVolume getViewVolume()
ViewVolumeviewVolumepublic void setViewVolume(ViewVolume value)
value - allowed object is
ViewVolumeviewVolumepublic ImagePyramid getImagePyramid()
ImagePyramidimagePyramidpublic void setImagePyramid(ImagePyramid value)
value - allowed object is
ImagePyramidimagePyramidpublic List<Object> getPhotoOverlaySimpleExtension()
photoOverlaySimpleExtensionpublic List<AbstractObject> getPhotoOverlayObjectExtension()
photoOverlayObjectExtensionpublic ViewVolume createAndSetViewVolume()
ViewVolume and set it to viewVolume.
This method is a short version for:
ViewVolume viewVolume = new ViewVolume();
this.setViewVolume(viewVolume); public ImagePyramid createAndSetImagePyramid()
ImagePyramid and set it to imagePyramid.
This method is a short version for:
ImagePyramid imagePyramid = new ImagePyramid();
this.setImagePyramid(imagePyramid); public Point createAndSetPoint()
Point and set it to point.
This method is a short version for:
Point point = new Point();
this.setPoint(point); public void setPhotoOverlaySimpleExtension(List<Object> photoOverlaySimpleExtension)
photoOverlaySimpleExtension - photoOverlaySimpleExtensionpublic PhotoOverlay addToPhotoOverlaySimpleExtension(Object photoOverlaySimpleExtension)
photoOverlaySimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setPhotoOverlayObjectExtension(List<AbstractObject> photoOverlayObjectExtension)
photoOverlayObjectExtension - photoOverlayObjectExtensionpublic PhotoOverlay addToPhotoOverlayObjectExtension(AbstractObject photoOverlayObjectExtension)
photoOverlayObjectExtension - Objects of the following type are allowed in the list: AbstractObjectpublic void setObjectSimpleExtension(List<Object> objectSimpleExtension)
setObjectSimpleExtension in class OverlayobjectSimpleExtensionpublic PhotoOverlay 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 PhotoOverlay 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 PhotoOverlay 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 PhotoOverlay 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 PhotoOverlay 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 PhotoOverlay addToOverlayObjectExtension(AbstractObject overlayObjectExtension)
OverlayaddToOverlayObjectExtension in class OverlayoverlayObjectExtension - Objects of the following type are allowed in the list: AbstractObjectpublic PhotoOverlay withRotation(double rotation)
rotation - required parametersetRotation(double)public PhotoOverlay withViewVolume(ViewVolume viewVolume)
viewVolume - required parametersetViewVolume(ViewVolume)public PhotoOverlay withImagePyramid(ImagePyramid imagePyramid)
imagePyramid - required parametersetImagePyramid(ImagePyramid)public PhotoOverlay withPoint(Point point)
point - required parametersetPoint(Point)public PhotoOverlay withShape(Shape shape)
shape - required parametersetShape(Shape)public PhotoOverlay withPhotoOverlaySimpleExtension(List<Object> photoOverlaySimpleExtension)
photoOverlaySimpleExtension - required parameter#setPhotoOverlaySimpleExtension(Listpublic PhotoOverlay withPhotoOverlayObjectExtension(List<AbstractObject> photoOverlayObjectExtension)
photoOverlayObjectExtension - required parameter#setPhotoOverlayObjectExtension(List) public PhotoOverlay withObjectSimpleExtension(List<Object> objectSimpleExtension)
AbstractObjectwithObjectSimpleExtension in class OverlayobjectSimpleExtension - required parameter#setObjectSimpleExtension(Listpublic PhotoOverlay withId(String id)
AbstractObjectwithId in class Overlayid - required parameterAbstractObject.setId(String)public PhotoOverlay withTargetId(String targetId)
AbstractObjectwithTargetId in class OverlaytargetId - required parameterAbstractObject.setTargetId(String)public PhotoOverlay withName(String name)
FeaturewithName in class Overlayname - required parameterFeature.setName(String)public PhotoOverlay withVisibility(Boolean visibility)
FeaturewithVisibility in class Overlayvisibility - required parameterFeature.setVisibility(Boolean)public PhotoOverlay withOpen(Boolean open)
FeaturewithOpen in class Overlayopen - required parameterFeature.setOpen(Boolean)public PhotoOverlay withAtomAuthor(Author atomAuthor)
FeaturewithAtomAuthor in class OverlayatomAuthor - required parameterFeature.setAtomAuthor(Author)public PhotoOverlay withAtomLink(Link atomLink)
FeaturewithAtomLink in class OverlayatomLink - required parameterFeature.setAtomLink(Link)public PhotoOverlay withAddress(String address)
FeaturewithAddress in class Overlayaddress - required parameterFeature.setAddress(String)public PhotoOverlay withXalAddressDetails(AddressDetails xalAddressDetails)
FeaturewithXalAddressDetails in class OverlayxalAddressDetails - required parameterFeature.setXalAddressDetails(AddressDetails)public PhotoOverlay withPhoneNumber(String phoneNumber)
FeaturewithPhoneNumber in class OverlayphoneNumber - required parameterFeature.setPhoneNumber(String)public PhotoOverlay withSnippet(Snippet snippet)
FeaturewithSnippet in class Overlaysnippet - required parameterFeature.setSnippet(Snippet)public PhotoOverlay withSnippetd(String snippetd)
FeaturewithSnippetd in class Overlaysnippetd - required parameterFeature.setSnippetd(String)public PhotoOverlay withDescription(String description)
FeaturewithDescription in class Overlaydescription - required parameterFeature.setDescription(String)public PhotoOverlay withAbstractView(AbstractView abstractView)
FeaturewithAbstractView in class OverlayabstractView - required parameterFeature.setAbstractView(AbstractView)public PhotoOverlay withTimePrimitive(TimePrimitive timePrimitive)
FeaturewithTimePrimitive in class OverlaytimePrimitive - required parameterFeature.setTimePrimitive(TimePrimitive)public PhotoOverlay withStyleUrl(String styleUrl)
FeaturewithStyleUrl in class OverlaystyleUrl - required parameterFeature.setStyleUrl(String)public PhotoOverlay withStyleSelector(List<StyleSelector> styleSelector)
FeaturewithStyleSelector in class OverlaystyleSelector - required parameter#setStyleSelector(List) public PhotoOverlay withRegion(Region region)
FeaturewithRegion in class Overlayregion - required parameterFeature.setRegion(Region)public PhotoOverlay withMetadata(Metadata metadata)
FeaturewithMetadata in class Overlaymetadata - required parameterFeature.setMetadata(Metadata)public PhotoOverlay withExtendedData(ExtendedData extendedData)
FeaturewithExtendedData in class OverlayextendedData - required parameterFeature.setExtendedData(ExtendedData)public PhotoOverlay withFeatureSimpleExtension(List<Object> featureSimpleExtension)
FeaturewithFeatureSimpleExtension in class OverlayfeatureSimpleExtension - required parameter#setFeatureSimpleExtension(Listpublic PhotoOverlay withFeatureObjectExtension(List<AbstractObject> featureObjectExtension)
FeaturewithFeatureObjectExtension in class OverlayfeatureObjectExtension - required parameter#setFeatureObjectExtension(List) public PhotoOverlay withColor(String color)
OverlaywithColor in class Overlaycolor - required parameterOverlay.setColor(String)public PhotoOverlay withDrawOrder(int drawOrder)
OverlaywithDrawOrder in class OverlaydrawOrder - required parameterOverlay.setDrawOrder(int)public PhotoOverlay withIcon(Icon icon)
OverlaywithIcon in class Overlayicon - required parameterOverlay.setIcon(Icon)public PhotoOverlay withOverlaySimpleExtension(List<Object> overlaySimpleExtension)
OverlaywithOverlaySimpleExtension in class OverlayoverlaySimpleExtension - required parameter#setOverlaySimpleExtension(Listpublic PhotoOverlay withOverlayObjectExtension(List<AbstractObject> overlayObjectExtension)
OverlaywithOverlayObjectExtension in class OverlayoverlayObjectExtension - required parameter#setOverlayObjectExtension(List) public PhotoOverlay clone()
Copyright © 2014 Micromata GmbH. All rights reserved.