from ipyleaflet import Map, Polyline
lines = Polyline(
locations=[
[[48.265643898808236, 336.7529296875],
[48.265643898808236, 337.7529296875],
[47.265643898808236, 336.7529296875]],
[[42.265643898808236, 338.7529296875],
[48.265643898808236, 337.7529296875],
[47.265643898808236, 339.7529296875]],
],
color="green" ,
fill=False
)
center = [48.265643898808236, 336.7529296875]
m = Map(center=center, zoom=7)
m.add(lines)
m