Whatever documentation you're looking at is out of date. The correct way to generate a map from PHP is now:

echo theme('gmap', array('#settings' => $mymap));


All the Best,

Matt Chapman
Ninjitsu Web Development
ph: 818-660-6465 (818-660-NINJA)
fx: 888-702-3095

--
The contents of this message should be assumed to be Confidential, and may not be disclosed without permission of the sender.


On Mon, Aug 2, 2010 at 5:10 PM, Gustavo Cabral <gmcabral@gmail.com> wrote:


2010/7/30 Don <donald@fane.com>

The best thing to do is enable error reporting in php.ini and see what error is occurring. The white screen of death is from having reporting turned off but apache is hitting an error.
Or try looking in the php logs, the location of which should be indicated in the php.ini

-Don-

Hi again, After learn how to enable error reporting, I get this error:

Fatal error: Call to undefined function gmap_draw_map() in /var/www/sigrhi/includes/common.inc(1699) : eval()'d code on line 63

Can be posible that the function don't exists? Is there any replacement for this?

Thanks a lot people, you guys really helped me

--

Linux es Libertad