Skip to content

Commit

Permalink
Updates after review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hansthen committed May 18, 2024
1 parent 1d1511b commit 5425f6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion folium/plugins/realtime.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
from typing import Optional, Union

from branca.element import MacroElement
from jinja2 import Template

from folium.elements import JSCSSMixin
from folium.map import Layer
from folium.utilities import JsCode, camelize, parse_options


class Realtime(JSCSSMixin, Layer):
class Realtime(JSCSSMixin, MacroElement):
"""Put realtime data on a Leaflet map: live tracking GPS units,
sensor data or just about anything.
Expand Down

0 comments on commit 5425f6d

Please sign in to comment.