driptorch.Map#

class driptorch.Map(burn_unit: driptorch.unit.BurnUnit)#

Convinience class for plotting spatio-temporal ignition patterns with Folium

Parameters
burn_unitBurnUnit

Burn unit boundary

__init__(burn_unit: driptorch.unit.BurnUnit)#

Constructor

Args:

burn_unit (BurnUnit): Burn unit boundary

Methods

__init__(burn_unit)

Constructor

add_blackline_area(blackline_area)

Add the blackline area to the map as a black polygon

add_firing_area(firing_area)

Add the interior firing area to the map as a yellow polygon

add_pattern(pattern)

Add the pattern to the map as an animated timedstamped GeoJSON.

show()

Method to show the map in a notebook

styling(feature)

Helper method for parsing styles from the GeoJSON features