<jupyter_start><jupyter_text>Warning: Before running below cells please make sure you have API key.                 Please see README.md for more info on API key.<jupyter_code>import os

os.environ["LS_API_KEY"] = "MY-API-KEY"  # replace your API key here.
from here_map_widget import Map, Overlay, Rectangle, Bbox, FullscreenControl
from ipywidgets import Image
import os

m = Map(api_key=os.environ["LS_API_KEY"])
m.center = [53.1, 13.1]
m.zoom = 3
bbox = Bbox(
    top=70.72849153520343,
    left=-24.085683364175395,
    bottom=29.569664922291,
    right=44.216452317817016,
)

overlay = Overlay(
    boundingBox=bbox,
    bitmap="https://heremaps.github.io/maps-api-for-javascript-examples/image-overlay/data/0.png",
    volatility=True,
)
m.add_object(overlay)
m.add_control(FullscreenControl())
m
import time

i = 0
while True:
    overlay.set_bitmap(
        "https://heremaps.github.io/maps-api-for-javascript-examples/image-overlay/data/{}.png".format(
            i
        )
    )
    i = i + 1
    if i == 11:
        i = 0
    time.sleep(0.25)<jupyter_output><empty_output>