ClickCallbacks

class eomaps.callbacks.ClickCallbacks(*args, **kwargs)

Collection of callbacks that are executed if you click anywhere on the map.

Methods

annotate([pos_precision, val_precision, ...])

Add a text-annotation to the plot at the position where the map was clicked.

clear_annotations(**kwargs)

Remove all temporary and permanent annotations from the plot.

clear_markers(**kwargs)

Remove all temporary and permanent annotations from the plot.

get_values(**kwargs)

Successively collect return-values in a dict.

mark([radius, radius_crs, shape, buffer, ...])

Draw markers at the location where the map was clicked.

peek_layer([layer, how, alpha, shape])

Overlay a part of the map with a different layer if you click on the map.

plot([x_index, precision])

Generate a dynamically updated plot showing the values of the picked pixels.

print_to_console([pos_precision, ...])

Print details on the clicked pixel to the console.