We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6d2c5b commit 0896151Copy full SHA for 0896151
folium/plugins/draw.py
@@ -44,8 +44,8 @@ class Draw(MacroElement):
44
{% macro script(this, kwargs) %}
45
var options = {
46
position: {{ this.position|tojson }},
47
- draw: {{ this.draw_options }},
48
- edit: {{ this.edit_options }},
+ draw: {{ this.draw_options|tojson }},
+ edit: {{ this.edit_options|tojson }},
49
}
50
// FeatureGroup is to store editable layers.
51
var drawnItems = new L.featureGroup().addTo(
0 commit comments