Skip to content

Commit 8ccf239

Browse files
authored
Load is08601-js-period lib in heatmap_with_time plugin (#1228)
1 parent a1e3686 commit 8ccf239

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

folium/plugins/heat_map_withtime.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ def render(self, **kwargs):
161161
assert isinstance(figure, Figure), ('You cannot render this Element '
162162
'if it is not in a Figure.')
163163

164+
figure.header.add_child(
165+
JavascriptLink('https://rawcdn.githack.com/nezasa/iso8601-js-period/master/iso8601.min.js'), # noqa
166+
name='iso8601')
167+
164168
figure.header.add_child(
165169
JavascriptLink('https://rawcdn.githack.com/socib/Leaflet.TimeDimension/master/dist/leaflet.timedimension.min.js'), # noqa
166170
name='leaflet.timedimension.min.js')

0 commit comments

Comments
 (0)