From 49ff0c8019c47f5d9c99b08cf0cede1862a74877 Mon Sep 17 00:00:00 2001 From: ocefpaf Date: Mon, 28 Mar 2016 18:21:52 -0300 Subject: [PATCH] Fix WMS --- folium/features.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/folium/features.py b/folium/features.py index 76f21af064..5b9205a057 100644 --- a/folium/features.py +++ b/folium/features.py @@ -69,12 +69,12 @@ def __init__(self, url, name=None, layers=None, styles=None, format=None, var {{this.get_name()}} = L.tileLayer.wms( '{{ this.url }}', { - layers:'{{ this.layers }}', + layers: '{{ this.layers }}', styles: '{{ this.styles }}', - format:'{{ this.format }}', + format: '{{ this.format }}', transparent: {{ this.transparent.__str__().lower() }}, version: '{{ this.version }}', - {% if this.attribution %}, attribution:'{{this.attribution}}'{% endif %} + {% if this.attribution %} attribution: '{{this.attribution}}'{% endif %} } ).addTo({{this._parent.get_name()}});