Add missing STYLES parameter for MapServer 8

intro16
sethg 2023-07-27 01:04:04 +02:00
parent 5372373079
commit fb495123fd
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@
"print(extent)\n",
"\n",
"bbox = \"BBOX={},{},{},{}\".format(extent.minx, extent.miny, extent.maxx, extent.maxy)\n",
"querystring = \"SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS=lakespy2&CRS=EPSG:26915&FORMAT=image/png&WIDTH=400&HEIGHT=400&{}\".format(bbox)\n",
"querystring = \"SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS=lakespy2&STYLES=&CRS=EPSG:26915&FORMAT=image/png&WIDTH=400&HEIGHT=400&{}\".format(bbox)\n",
"\n",
"ows_req = mapscript.OWSRequest()\n",
"ows_req.loadParamsFromURL(querystring)\n",