[Mapserver-users] dynamic pointing problem

Murat Isik muratisik at megatek.com.tr
Fri Oct 31 19:05:26 EST 2003


Thank you but that did not work.
same thing happens, no map, no image file created :(

murat isik


----- Original Message -----
From: "Brian Cunningham" <BRC at capindex.com>
To: <muratisik at megatek.com.tr>
Sent: Friday, October 31, 2003 7:48 PM
Subject: [Mapserver-users] dynamic pointing problem


> Murat-
> Have you fixed this problem?
> I am new to Mapserver and am struggling but I believe I have your answer.
> You need to create the new layer object:
>   $layer = ms_newLayerObj($map);
>
> So it looks like this (your code)
>
> $map = ms_newMapObj("demo_try.map");
> $image = $map->draw();
> $layer = ms_newLayerObj($map);
> $layer = $map->getLayerByName("point");
> $layer->set('status', MS_ON);
> $pt = ms_newPointObj();
> $x = 29.1;
>
> That should do it.
>
> Brian R. Cunningham
> CAP Index, Inc.
> www.capindex.com
>
> This email and any files transmitted with it are confidential and intended
solely for the individual or entity to whom they are addressed. If you have
received this email in error please destroy it immediately.
>
>





More information about the mapserver-users mailing list