public class

RasterTileEventListener

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

Class Overview

Listener for raster tile element events like clicks etc.

Summary

Public Constructors
RasterTileEventListener()
Public Methods
synchronized void delete()
boolean onRasterTileClicked(RasterTileClickInfo clickInfo)
Listener method that gets called when a click is performed on a raster tile.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RasterTileEventListener ()

Public Methods

public synchronized void delete ()

public boolean onRasterTileClicked (RasterTileClickInfo clickInfo)

Listener method that gets called when a click is performed on a raster tile.
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 elements should not be handled. False if the next element should be called.