@Api(allMethods=true) public class VectorTile extends Object implements Serializable
DTO version of an InternalTile. This object can be sent to the client.
| Modifier and Type | Class and Description |
|---|---|
static class |
VectorTile.VectorTileContentType
The rendering method used for a specific tile.
|
| Constructor and Description |
|---|
VectorTile()
Create a vector tile.
|
| Modifier and Type | Method and Description |
|---|---|
TileCode |
getCode()
Returns the unique code for this tile.
|
List<TileCode> |
getCodes()
All tiles that have at least one feature that geographically intersects with this tile are called dependent
tiles.
|
VectorTile.VectorTileContentType |
getContentType()
Returns the type of content for the rendered features and labels that are stored within this tile.
|
String |
getFeatureContent()
Return the rendered content of a tile's features.
|
List<Feature> |
getFeatures()
Deprecated.
features are no longer included in tile
|
String |
getLabelContent()
Return the rendered content of a tile's labels.
|
int |
getScreenHeight()
Return the tile's height, expressed in client side pixels.
|
int |
getScreenWidth()
Return the tile's width, expressed in client side pixels.
|
boolean |
isClipped()
Returns whether or not at least one feature within this tile has been clipped.
|
void |
setClipped(boolean clipped)
Set whether or not at least one feature within this tile has been clipped.
|
void |
setCode(TileCode code)
Set the unique code for this tile.
|
void |
setCodes(List<TileCode> codes)
All tiles that have at least one feature that geographically intersects with this tile are called dependent
tiles.
|
void |
setContentType(VectorTile.VectorTileContentType contentType)
Determine the type of content for the rendered features and labels that are stored within this tile.
|
void |
setFeatureContent(String featureContent)
Set the rendered content of a tile's features.
|
void |
setFeatures(List<Feature> features)
Deprecated.
features are no longer included in tile
|
void |
setLabelContent(String labelContent)
Set the rendered content of a tile's labels.
|
void |
setScreenHeight(int screenHeight)
Set the tile's height, expressed in client side pixels.
|
void |
setScreenWidth(int screenWidth)
Set the tile's width, expressed in client side pixels.
|
String |
toString()
String representation of object.
|
public String getFeatureContent()
public void setFeatureContent(String featureContent)
featureContent - The new value for the actual rendered feature content of this tile.public String getLabelContent()
public void setLabelContent(String labelContent)
labelContent - The new value for the actual rendered label content of this tile.public VectorTile.VectorTileContentType getContentType()
public void setContentType(VectorTile.VectorTileContentType contentType)
contentType - The value for the content type.@Deprecated public List<Feature> getFeatures()
@Deprecated public void setFeatures(List<Feature> features)
features - The full list of features stored and rendered in this tile.public List<TileCode> getCodes()
public void setCodes(List<TileCode> codes)
codes - Set the list of tiles that are dependent on this one.public TileCode getCode()
public void setCode(TileCode code)
code - The tile's code.public int getScreenWidth()
public void setScreenWidth(int screenWidth)
screenWidth - The new value.public int getScreenHeight()
public void setScreenHeight(int screenHeight)
screenHeight - The new value.public boolean isClipped()
public void setClipped(boolean clipped)
clipped - The new value.Copyright © 2015 Geosparc. All Rights Reserved.