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