java.lang.Object | |
↳ | com.carto.geometry.Feature |
![]() |
A feature consisting of geometry and properties.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Feature(Geometry geometry, Variant properties)
Constructs a Feature object from geometry and properties.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
Geometry |
getGeometry()
Returns the geometry of the feature.
| ||||||||||
Variant |
getProperties()
Returns the properties of the feature.
| ||||||||||
int |
hashCode()
Returns the hash value of this object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs a Feature object from geometry and properties.
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 geometry of the feature.
Returns the properties of the feature.
Returns the hash value of this object.