Mein Code für die Karte:
Code: Select all
current_map = folium.Map(location=start_location, zoom_start=6)
fig = branca.element.Figure(height="100%")
fig.add_child(current_map)
context = {"current_map": current_map._repr_html_()}
return render(request, template_name="index.html", context=context)
Code: Select all
{{ current_map | safe }}
[img]https://i.sstatic.net /S8WAv.jpg[/img]