public class

UTFGridEventListener

extends Object
java.lang.Object
   ↳ com.carto.layers.UTFGridEventListener

Class Overview

Listener for vector element events like clicks etc.

Summary

Public Constructors
UTFGridEventListener()
Public Methods
synchronized void delete()
boolean onUTFGridClicked(UTFGridClickInfo clickInfo)
Listener method that gets called when a click is performed on an UTF grid element.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public UTFGridEventListener ()

Public Methods

public synchronized void delete ()

public boolean onUTFGridClicked (UTFGridClickInfo clickInfo)

Listener method that gets called when a click is performed on an UTF grid element.
If the method returns true, all subsequent layers are ignored and click event is not passed down.
This method will NOT be called from the main thread.

Parameters
clickInfo A container that provides information about the click.
Returns
  • True if the click is handled and subsequent layers do not need to be notified.