java.lang.Object | ||
↳ | com.carto.geometry.FeatureBuilder | |
↳ | com.carto.geometry.VectorTileFeatureBuilder |
A vector tile feature consisting of id, layer, geometry and properties.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
VectorTileFeatureBuilder()
Constructs a VectorTileFeatureBuilder with empty state.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
VectorTileFeature |
buildVectorTileFeature()
Builds a new vector tile feature from the state.
| ||||||||||
synchronized void | delete() | ||||||||||
boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
long |
getId()
Returns the id of the builder.
| ||||||||||
String |
getLayerName()
Returns the layer name of the builder.
| ||||||||||
MapTile |
getMapTile()
Returns the map tile of the builder.
| ||||||||||
int |
hashCode()
Returns the hash value of this object.
| ||||||||||
void |
setId(long id)
Sets the id of the builder.
| ||||||||||
void |
setLayerName(String layerName)
Sets the layer name of the builder.
| ||||||||||
void |
setMapTile(MapTile mapTile)
Sets the map tile of the builder.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructs a VectorTileFeatureBuilder with empty state.
Builds a new vector tile feature from the state.
Checks if this object is equal to the specified object.
obj | The reference object. |
---|
Returns the id of the builder.
Returns the layer name of the builder.
Returns the map tile of the builder.
Returns the hash value of this object.
Sets the id of the builder.
id | The id of the builder. |
---|
Sets the layer name of the builder.
layerName | The layer name of the builder. |
---|
Sets the map tile of the builder.
mapTile | The map tile of the builder. |
---|