Skip to content

Commit 715161d

Browse files
authored
Fix wrong default value for fmt argument in WmsTileLayer (#950)
The default value of the fmt argument in WmsTileLayer was changed by accident to image/jpg instead of image/jpeg.
1 parent 1ea034a commit 715161d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGES.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
- More options (tms, opacity, kwargs) in TileLayer (mpickering #948)
66
- Add MousePosition plugin (btozer #916)
77

8+
Bug Fixes
9+
10+
- Fix wrong default value for fmt argument of WmsTileLayer (conengmo #950)
11+
812

913
0.6.0
1014
~~~~~

folium/raster_layers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class WmsTileLayer(Layer):
176176
""") # noqa
177177

178178
def __init__(self, url, name=None, layers='', styles='',
179-
fmt='image/jpg', transparent=False, version='1.1.1',
179+
fmt='image/jpeg', transparent=False, version='1.1.1',
180180
attr='', overlay=True, control=True, show=True, **kwargs):
181181
super(WmsTileLayer, self).__init__(overlay=overlay, control=control,
182182
name=name, show=show)

0 commit comments

Comments
 (0)