public class TLcdKML22ImagePyramid extends TLcdKML22AbstractObject
OGC KML Specification description:
This element can be used wherever the following element is referenced: -kml:AbstractObjectGroup Specifies a hierarchical set of images, each of which is an increasingly lower resolution (towards the top of the pyramid). Each image in the pyramid is subdivided into tiles so only the portions in view are loaded. The pixel size of the original image is specified in the kml:maxWidth and kml:maxHeight elements. The width and height can be any size and do not need to be a power of 2. You can fill out the remaining pixels with blank pixels, as described in. Tiles must be square, and the kml:tileSize must be a power of 2. A tile size of 256 (the default) or 512 is recommended. A kml:ImagePyramid element should have the kml:maxWidth and kml:maxHeight child elements present, and, if supplied, the kml:tileSize should be a power of 2. See also 11.4.3 Handling large images.
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
GRID_ORIGIN_PROPERTY
Data property that maps to the
gridOrigin element. |
static TLcdDataProperty |
IMAGE_PYRAMID_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
ImagePyramidObjectExtensionGroup element. |
static TLcdDataProperty |
IMAGE_PYRAMID_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
ImagePyramidSimpleExtensionGroup element. |
static TLcdDataProperty |
MAX_HEIGHT_PROPERTY
Data property that maps to the
maxHeight element. |
static TLcdDataProperty |
MAX_WIDTH_PROPERTY
Data property that maps to the
maxWidth element. |
static TLcdDataProperty |
TILE_SIZE_PROPERTY
Data property that maps to the
tileSize element. |
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
Constructor and Description |
---|
TLcdKML22ImagePyramid() |
TLcdKML22ImagePyramid(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
ELcdKML22GridOrigin |
getGridOrigin()
Returns the value of the property that maps to the
gridOrigin element. |
Integer |
getMaxHeight()
Returns the value of the property that maps to the
maxHeight element. |
Integer |
getMaxWidth()
Returns the value of the property that maps to the
maxWidth element. |
Integer |
getTileSize()
Returns the value of the property that maps to the
tileSize element. |
void |
setGridOrigin(ELcdKML22GridOrigin aValue)
Sets the value of the property that maps to the
gridOrigin element. |
void |
setMaxHeight(Integer aValue)
Sets the value of the property that maps to the
maxHeight element. |
void |
setMaxWidth(Integer aValue)
Sets the value of the property that maps to the
maxWidth element. |
void |
setTileSize(Integer aValue)
Sets the value of the property that maps to the
tileSize element. |
getId, getTargetId, setId, setTargetId
public static final TLcdDataProperty TILE_SIZE_PROPERTY
tileSize
element.
The possible values for this property are instances of Integer
.public static final TLcdDataProperty MAX_WIDTH_PROPERTY
maxWidth
element.
The possible values for this property are instances of Integer
.public static final TLcdDataProperty MAX_HEIGHT_PROPERTY
maxHeight
element.
The possible values for this property are instances of Integer
.public static final TLcdDataProperty GRID_ORIGIN_PROPERTY
gridOrigin
element.
The possible values for this property are instances of ELcdKML22GridOrigin
.public static final TLcdDataProperty IMAGE_PYRAMID_SIMPLE_EXTENSION_GROUP_PROPERTY
ImagePyramidSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty IMAGE_PYRAMID_OBJECT_EXTENSION_GROUP_PROPERTY
ImagePyramidObjectExtensionGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractObject>
.public TLcdKML22ImagePyramid()
public TLcdKML22ImagePyramid(TLcdDataType aType)
public Integer getTileSize()
tileSize
element.TILE_SIZE_PROPERTY
property.public void setTileSize(Integer aValue)
tileSize
element.aValue
- the value to set for the TILE_SIZE_PROPERTY
property.public Integer getMaxWidth()
maxWidth
element.MAX_WIDTH_PROPERTY
property.public void setMaxWidth(Integer aValue)
maxWidth
element.aValue
- the value to set for the MAX_WIDTH_PROPERTY
property.public Integer getMaxHeight()
maxHeight
element.MAX_HEIGHT_PROPERTY
property.public void setMaxHeight(Integer aValue)
maxHeight
element.aValue
- the value to set for the MAX_HEIGHT_PROPERTY
property.public ELcdKML22GridOrigin getGridOrigin()
gridOrigin
element.GRID_ORIGIN_PROPERTY
property.public void setGridOrigin(ELcdKML22GridOrigin aValue)
gridOrigin
element.aValue
- the value to set for the GRID_ORIGIN_PROPERTY
property.