PickCallbacks#

class eomaps.callbacks.PickCallbacks(*args, **kwargs)#

A collection of callbacks that are executed if you click on a datapoint.

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.

highlight_geometry([permanent])

Temporarily highlite the picked geometry of a GeoDataFrame.

load([database, load_method, load_multiple])

Load objects from a given database using the ID of the picked pixel.

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.