In [1]:
import os
import folium

print(folium.__version__)


0.3.0.dev

In [2]:
lat = +38.89399
lon = -77.03659
zoom_start = 17

m = folium.Map(location=[lat, lon], zoom_start=zoom_start)

kw = dict(fill_color='red', radius=20)
c0 = folium.CircleMarker([38.89415, -77.03738], **kw)
c1 = folium.CircleMarker([38.89415, -77.03578], **kw)


locations = [[(38.893596444352134, -77.03814983367920), (38.893379333722040, -77.03792452812195)],
             [(38.893379333722040, -77.03792452812195), (38.893162222428310, -77.03761339187622)],
             [(38.893162222428310, -77.03761339187622), (38.893028615148424, -77.03731298446655)],
             [(38.893028615148424, -77.03731298446655), (38.892920059048464, -77.03691601753235)],
             [(38.892920059048464, -77.03691601753235), (38.892903358095296, -77.03637957572937)],
             [(38.892903358095296, -77.03637957572937), (38.893011914220770, -77.03592896461487)],
             [(38.893011914220770, -77.03592896461487), (38.893162222428310, -77.03549981117249)],
             [(38.893162222428310, -77.03549981117249), (38.893404384982480, -77.03514575958252)],
             [(38.893404384982480, -77.03514575958252), (38.893596444352134, -77.03496336936950)]]

c3 = folium.PolyLine(locations=locations, color='orange', weight=8, opacity=1)

for c in [c0, c1, c3]:
    m.add_child(c)

m.save(os.path.join('results', 'MultiPolyline.html'))

m


Out[2]: