[Mapserver-users] dynamic pointing problem
Murat Isik
muratisik@megatek.com.tr
Sat, 1 Nov 2003 02:05:26 +0200
Thank you but that did not work.
same thing happens, no map, no image file created :(
murat isik
----- Original Message -----
From: "Brian Cunningham" <BRC@capindex.com>
To: <muratisik@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.
>
>
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users