public class

MapClickInfo

extends Object
java.lang.Object
   ↳ com.carto.ui.MapClickInfo

Class Overview

A container class that provides information about a click performed on
an empty area of the map.

Summary

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.
int hashCode()
Returns the hash value of this object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public synchronized void delete ()

public boolean equals (Object obj)

Checks if this object is equal to the specified object.

Parameters
obj The reference object.
Returns
  • True when objects are equal, false otherwise.

public MapPos getClickPos ()

Returns the click position.

Returns
  • The click position in the coordinate system of the base projection.

public ClickType getClickType ()

Returns the click type.

Returns
  • The type of the click performed.

public int hashCode ()

Returns the hash value of this object.

Returns
  • The hash value of this object.