- Fix bug in WMS 1.1.1 re: STYLES support.
This commit is contained in:
parent
9d9d441239
commit
6f7d9eab8a
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ class ServiceHandler(WMSBaseServiceHandler):
|
||||||
layere.append(latlonbb)
|
layere.append(latlonbb)
|
||||||
layere.append(layerbbox)
|
layere.append(layerbbox)
|
||||||
if len(layer.wmsextrastyles) > 0:
|
if len(layer.wmsextrastyles) > 0:
|
||||||
for extrastyle in list(layer.wmsextrastyles):
|
for extrastyle in [layer.wmsdefaultstyle] + list(layer.wmsextrastyles):
|
||||||
style = ElementTree.Element('Style')
|
style = ElementTree.Element('Style')
|
||||||
stylename = ElementTree.Element('Name')
|
stylename = ElementTree.Element('Name')
|
||||||
stylename.text = extrastyle
|
stylename.text = extrastyle
|
||||||
|
|
Loading…
Reference in a new issue