@Api(allMethods=true) public class GetVectorTileRequest extends LayerIdCommandRequest implements TileMetadata, CacheableObject
GetVectorTileCommand.| Modifier and Type | Field and Description |
|---|---|
static String |
COMMAND
Command name for this request.
|
PARAM_SVG_RENDERER, PARAM_VML_RENDERER| Constructor and Description |
|---|
GetVectorTileRequest()
Constructs an empty request (GWT).
|
GetVectorTileRequest(TileMetadata tileMetadata)
Constructs a request with the specified
TileMetadata. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Are the two objects equal?
|
String |
getCacheId()
String identifier which is guaranteed to include sufficient information to assure to be different for two
instances which could produce different result.
|
TileCode |
getCode()
Get tile code.
|
String |
getCrs()
Get the coordinate reference space which should be used for the returned geometries.
|
int |
getFeatureIncludes()
Deprecated.
features are no longer included in response
|
String |
getFilter()
Filter to apply to the tile.
|
Coordinate |
getPanOrigin()
Get pan origin.
|
String |
getRenderer()
Get renderer to use.
|
double |
getScale()
Get zoom scale.
|
NamedStyleInfo |
getStyleInfo()
Get style for rendering.
|
int |
hashCode()
Calculate object hash code.
|
boolean |
isPaintGeometries()
Should geometries be painted?
|
boolean |
isPaintLabels()
Should labels be painted?
|
boolean |
isPartOf(GetVectorTileRequest request)
Check if this request is part of the specified request.
|
void |
setCode(TileCode code)
Set tile code.
|
void |
setCrs(String crs)
Set the coordinate reference space which should be used for the returned geometries.
|
void |
setFeatureIncludes(int featureIncludes)
Deprecated.
features are no longer included in response
|
void |
setFilter(String filter)
Filter to apply to the tile.
|
void |
setPaintGeometries(boolean paintGeometries)
Should geometries be painted?
|
void |
setPaintLabels(boolean paintLabels)
Should labels be painted?
|
void |
setPanOrigin(Coordinate panOrigin)
Set pan origin.
|
void |
setRenderer(String renderer)
Set renderer to use.
|
void |
setScale(double scale)
Set zoom scale.
|
void |
setStyleInfo(NamedStyleInfo styleInfo)
Set style for rendering.
|
String |
toString() |
getLayerId, setLayerIdgetLayerId, setLayerIdpublic static final String COMMAND
public GetVectorTileRequest()
public GetVectorTileRequest(TileMetadata tileMetadata)
TileMetadata. Clones all properties, except for the style
information.tileMetadata - the metadatapublic TileCode getCode()
getCode in interface TileMetadatapublic void setCode(TileCode code)
setCode in interface TileMetadatacode - tile codepublic double getScale()
getScale in interface TileMetadatapublic void setScale(double scale)
setScale in interface TileMetadatascale - scale in pix/map unit (at map center)public Coordinate getPanOrigin()
getPanOrigin in interface TileMetadatapublic void setPanOrigin(Coordinate panOrigin)
setPanOrigin in interface TileMetadatapanOrigin - pan originpublic String getFilter()
getFilter in interface TileMetadatapublic void setFilter(String filter)
setFilter in interface TileMetadatafilter - filter which needs to be applied for the tilepublic String getCrs()
getCrs in interface TileMetadatapublic void setCrs(String crs)
setCrs in interface TileMetadatacrs - crspublic NamedStyleInfo getStyleInfo()
getStyleInfo in interface TileMetadatapublic void setStyleInfo(NamedStyleInfo styleInfo)
setStyleInfo in interface TileMetadatastyleInfo - style info for rendering the tilepublic String getRenderer()
getRenderer in interface TileMetadatapublic void setRenderer(String renderer)
setRenderer in interface TileMetadatarenderer - renderer typepublic boolean isPaintGeometries()
isPaintGeometries in interface TileMetadatapublic void setPaintGeometries(boolean paintGeometries)
setPaintGeometries in interface TileMetadatapaintGeometries - include geometries when rendering?public boolean isPaintLabels()
isPaintLabels in interface TileMetadatapublic void setPaintLabels(boolean paintLabels)
setPaintLabels in interface TileMetadatapaintLabels - include labels when rendering?@Deprecated public int getFeatureIncludes()
VectorLayerService.getFeatureIncludes in interface TileMetadata@Deprecated public void setFeatureIncludes(int featureIncludes)
VectorLayerService.setFeatureIncludes in interface TileMetadatafeatureIncludes - what the includepublic String getCacheId()
getCacheId in interface CacheableObjectpublic boolean equals(Object o)
public boolean isPartOf(GetVectorTileRequest request)
request - another requestCopyright © 2013 Geosparc. All Rights Reserved.