[OpenLayers-Users] OpenLayers.Layer.MapServer.Untiled

ibrahimsaricicek ibrahimsaricicek at gmail.com
Fri Mar 5 09:17:58 EST 2010


Hi all;

This is my Layer definition;

var mapserv = new
OpenLayers.Layer.MapServer.Untiled("MapServer","http://192.168.2.15/cgi-bin/world_900913?",
{layers:'World_Sea',transparent:true,
format:"image/png",srs:"epsg:900913"},{buffer: 0, gutter: 0,isBaseLayer:
false, opacity:0.5});

This is the message returned;

msUpdateMapFromURL(): Web application error. Image size out of range.

The url of this error is;

http://192.168.2.15/cgi-bin/world?layers=World_Sea&transparent=true&format=image%2Fpng&srs=epsg%3A900913&mode=map&map_imagetype=png&mapext=1302981.4204699+3362934.2490722+6586308.8145949+6088984.4253464&imgext=1302981.4204699+3362934.2490722+6586308.8145949+6088984.4253464&map_size=2160+1114&imgx=1080&imgy=557&imgxy=2160+1114

But if I delete after map_size definition, it works!!! ;

http://192.168.2.15/cgi-bin/world?layers=World_Sea&transparent=true&format=image%2Fpng&srs=epsg%3A900913&mode=map&map_imagetype=png&mapext=1302981.4204699+3362934.2490722+6586308.8145949+6088984.4253464&imgext=1302981.4204699+3362934.2490722+6586308.8145949+6088984.4253464

What did I miss?

-- 
View this message in context: http://n2.nabble.com/OpenLayers-Layer-MapServer-Untiled-tp4681036p4681036.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list