java.lang.Object | |
↳ | com.carto.ui.VectorElementClickInfo |
A container class that provides information about a click performed on
a vector element.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
MapPos |
getClickPos()
Returns the click position.
| ||||||||||
ClickType |
getClickType()
Returns the click type.
| ||||||||||
MapPos |
getElementClickPos()
Returns the position on the clicked element, that is close to the click position.
| ||||||||||
Layer |
getLayer()
Returns the layer of the clicked vector element.
| ||||||||||
VectorElement |
getVectorElement()
Returns the clicked vector element.
| ||||||||||
int |
hashCode()
Returns the hash value of this object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Checks if this object is equal to the specified object.
obj | The reference object. |
---|
Returns the click position.
Returns the position on the clicked element, that is close to the click position.
For points it will always be the center position, for lines it will be the closest point
on the line, for billboards it will be the anchor point and for polygons it's equal to
getClickPos().
Returns the layer of the clicked vector element.
Returns the clicked vector element.
Returns the hash value of this object.