Skip to content

Commit 49ff0c8

Browse files
committed
Fix WMS
1 parent cdad5b8 commit 49ff0c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

folium/features.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ def __init__(self, url, name=None, layers=None, styles=None, format=None,
6969
var {{this.get_name()}} = L.tileLayer.wms(
7070
'{{ this.url }}',
7171
{
72-
layers:'{{ this.layers }}',
72+
layers: '{{ this.layers }}',
7373
styles: '{{ this.styles }}',
74-
format:'{{ this.format }}',
74+
format: '{{ this.format }}',
7575
transparent: {{ this.transparent.__str__().lower() }},
7676
version: '{{ this.version }}',
77-
{% if this.attribution %}, attribution:'{{this.attribution}}'{% endif %}
77+
{% if this.attribution %} attribution: '{{this.attribution}}'{% endif %}
7878
}
7979
).addTo({{this._parent.get_name()}});
8080

0 commit comments

Comments
 (0)