2.5.1.2. cpforager.GPS_Collection.folium_map

GPS_Collection.folium_map(fig_dir, file_id, plot_params, rand=False)

Produce the html map with every GPS data colored by seabird id.

Parameters:
  • self (cpforager.GPS_Collection) – a GPS_Collection object

  • fig_dir (str) – figure saving directory.

  • file_id (str) – name of the saved figure.

  • plot_params (dict) – plot parameters dictionary.

  • rand (bool) – True if colors should be random.

Returns:

the folium map.

Return type:

folium.Map

The figure is save at the html format.