[support] GMap and the White Screen Of Death

Jacob M. Roufa jacob.roufa at gmail.com
Sat Jul 31 02:41:28 UTC 2010


Try increasing memory limit for php. 



-- Jacob M. Roufa
(208) 557-9390On Jul 30, 2010 6:03 PM, Gustavo Cabral <gmcabral at gmail.com> wrote: 

Hi there:

I've installed drupal 6.17 whit gmap module, It's working fine, I

proved the macro code on a node:



[gmap|id=map|center=49.2,-123.1|zoom=7|width=600px|height=400px|control=Small|type=Map]



And It shown a google map correctly. But when I proved this snippet:

<?php

$north = 38.897546;

$east  = -77.039394;

$zoom  = 16;

$mywmss=array(

array('name'=>'Terraserver',

                    'url'=>'http://terraservice.net/ogcmap6.ashx?',

                    'format'=>'image/jpeg',

                    'minresolution'=>'1',

                    'maxresolution'=>'17',

                    'layers'=>'DOQ',

                    'copyrights' => array(array(

                      'minzoom'=>'1',

                      'bounds'=>'-190,-90,180,90',

                      'text'=>'© terrasever',

                      )),

                    'overlaywith'=>'Hybrid',

                    'merczoomlevel'=>'5',

    ),

array('name'=>'Lizardtech',



'url'=>'http://wms.lizardtech.com/lizardtech/iserv/ows?service=WMS',

                    'format'=>'image/jpeg',

                    'minresolution'=>'1',

                    'maxresolution'=>'17',

                    'layers'=>'DC',

                    'copyrights' => array(array(

                      'minzoom'=>'1',

                      'bounds'=>'-190,-90,180,90',

                      'text'=>'© lizardtech',

                      )),

                    'overlaywith'=>'Hybrid',

                    'merczoomlevel'=>'5',

    ),

array('name'=>'NASA_JPL',

                    'url'=>'http://wms.jpl.nasa.gov/wms.cgi?service=WMS',

                    'format'=>'image/jpeg',

                    'minresolution'=>'1',

                    'maxresolution'=>'17',

                    'layers'=>'global_mosaic',

                    'copyrights' => array(array(

                      'minzoom'=>'1',

                      'bounds'=>'-190,-90,180,90',

                      'text'=>'© NASA',

                      )),

                    'overlaywith'=>'Hybrid',

                    'merczoomlevel'=>'5',

    ),

);

$mymap=array('id' => 'map',

             'control' => 'Large',

             'tcontrol' => 'on',

             'zoom' => $zoom,

             'center' => $north.','.$east,

             'width' => '100%',

             'height' => '500px',

             'type' => 'Satellite',

             'wmss' => $mywmss,

             );

echo gmap_draw_map($mymap);

?>

I got simply the famous white page of death. Can you please tell me

what can I do to solve that problem? I'm working on my tesis work, so

please help me.

Thanks a lot.



--



Linux es Libertad

-- 

[ Drupal support list | http://lists.drupal.org/ ]


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100730/be7dadcf/attachment-0001.html 


More information about the support mailing list