[mapserver-users] how to throw exception for failed ms_newMapObj
jim white
jbw2003 at earthlink.net
Fri Sep 4 11:26:49 PDT 2009
Hi,
My PHP MapScript sometimes fails to create a new map object. I would
like to be able to handle this occurrence, and send a notice to the user
that there has been an error and they don't have to wait for a page that
is not going to load. The script just fails at the $map =
ms_newMapObj($mapfile) line and stops. How to throw an exception when
this happens?
Thanks,
Jim
James (Jim) B. White
tel: (919)-380-9615
homepage: http://jimserver.net/
More information about the MapServer-users
mailing list