[OpenLayers-Users] mapserver example

János Gonzales janos.gonzales at gmail.com
Tue May 1 15:10:50 EDT 2007


Hello,
I'm trying to use the mapserver example included with OpenLayers 2.3.
 I modified mapserver.html  to point to my map file and I added the
layer name that I wanted.

When I view mapserver.html in the browsers i get a bunch of pink
tiles.  If I try to see the source of each tile I get a URL like :

http://localhost/cgi-bin/mapserv?map=mymap.map&LAYERS=states&MODE=map&MAP_IMAGETYPE=png&mapext=-11.25+33.75+0+45&imgext=-11.25+33.75+0+45&map_size=256+256&imgx=128&imgy=128&imgxy=256%2B256

This gives an error  loadForm(): Web application error. Not enough
arguments for imgxy.

However, if I replace all the %2B   strings in the URL with plus signs
+   then the image works.   What is up with that?



More information about the Users mailing list