showing .gif image
Naijun Zhou
zhou_naijun at HOTMAIL.COM
Mon Sep 20 11:18:48 PDT 2004
Hi,
I'd like to show a gif image (on the MapServer) as a dynamic layer in the
Chamaleon WMS.
I set the Layer object's name field with the image in order to add the Layer
object. However, how can I tell Chamaleon know the starting point of the
image(layer)?
Layer
$oNewLayer = ms_newLayerObj($oMap);
// set name
$oNewLayer->set("name",$myName);
$oNewLayer->set( "data", $gifFileName);
I know the minx, miny, maxx, maxy of the gif image but don't know how to set
them in Layer object of Chamaleon. It seems that the gif is by default
treated as having an extent of (0,0,imageXSize, imageYSize).
Thank you very much!
N. Zhou
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
More information about the MapServer-users
mailing list