If a third value is inserted into any tuple (representing altitude) it will be ignored.
Altitude is set using and (or ) extending
. Allowed altitude modes are absolute, clampToGround, and clampToSeaFloor.
Specifies the coordinates of the four corner points of a quadrilateral defining
the overlay area. Exactly four coordinate tuples have to be provided, each consisting
of floating point values for longitude and latitude. Insert a space between tuples.
Do not include spaces within a tuple. The coordinates must be specified in counter-clockwise
order with the first coordinate corresponding to the lower-left corner of the overlayed
image. The shape described by these corners must be convex.
Syntax:
<GroundOverlay id="ID">
...
<Icon>...</Icon>
<altitude>0</altitude>
<altitudeMode>clampToGround</altitudeMode> <!-- or absolute -->
<!-- can substitute <gx:altitudeMode>clampToSeaFloor</gx:altitudeMode> -->
<gx:LatLonQuad>
<coordinates>...</coordinates> <!-- four lon,lat tuples -->
</gx:LatLonQuad>
</GroundOverlay>
A single tuple consisting of floating point values for longitude, latitude, and
altitude (in that order). Longitude and latitude values are in degrees, where longitude
≥ −180 and <= 180 latitude ≥ −90 and ≤ 90 altitude values (optional) are in meters
above sea level
Do not include spaces between the three values that describe a coordinate.
Two or more coordinate tuples, each consisting of floating point values for longitude,
latitude, and altitude. The altitude component is optional. Insert a space between
tuples. Do not include spaces within a tuple.
Constructor Detail
LatLonQuad
public LatLonQuad()
Method Detail
getCoordinates
public java.util.List<Coordinate> getCoordinates()