import os
import folium
print(folium.__version__)
0.5.0+27.g2d457b0.dirty
m = folium.Map(
world_copy_jump=False,
no_wrap=False
)
folium.Marker(
location=[0, 0],
popup='I will disapear when moved outside the wrapped map domain.'
).add_to(m)
m.save(os.path.join('results', 'ContinuousWorld_0.html'))
m
m = folium.Map(
world_copy_jump=True,
no_wrap=False
)
folium.Marker(
location=[0, 0],
popup='I will magically reappear when moved outside the wrapped map domain.'
).add_to(m)
m.save(os.path.join('results', 'ContinuousWorld_1.html'))
m
m = folium.Map(
world_copy_jump=False,
no_wrap=True,
)
folium.Marker(
location=[0, 0],
popup='The map domain here is not wrapped!'
).add_to(m)
m.save(os.path.join('results', 'ContinuousWorld_3.html'))
m