Hi Drupalers<br>I need to post in nodes distinct maps of my own (I've my server running with mapserver), I found in the net a code to GMap module that allows me to show my maps on contents using as a base layer map the Google Earth. The example can be found on:<br>
<a href="http://geoserver.org/display/GEOSDOC/Drupal">http://geoserver.org/display/GEOSDOC/Drupal</a><br><br><span dir="ltr" id=":zy">The problem is that the code uses the function gmap_draw_map()</span>, <span dir="ltr" id=":zy">and searching on <a href="http://drupal.org/">drupal.org</a> I could see that the function was removed</span> but I can't found his substitute. Can you help me to replace that function with a similar code?<br>
<br>The code is:<br><pre class="code-html"><?php<br><br>$north = 38.897546;<br>$east = -77.039394;<br>$zoom = 16;<br><br>$mywmss=array(<br>array('name'=>'Terraserver',<br> 'url'=>'<a href="http://terraservice.net/ogcmap6.ashx?">http://terraservice.net/ogcmap6.ashx?</a>',<br>
'format'=>'image/jpeg',<br> 'minresolution'=>'1',<br> 'maxresolution'=>'17',<br> 'layers'=>'DOQ',<br>
'copyrights' => array(array(<br> 'minzoom'=>'1',<br> 'bounds'=>'-190,-90,180,90',<br> 'text'=>'&copy; terrasever',<br>
)),<br> 'overlaywith'=>'Hybrid',<br> 'merczoomlevel'=>'5',<br> ),<br>array('name'=>'Lizardtech',<br> 'url'=>'<a href="http://wms.lizardtech.com/lizardtech/iserv/ows?service=WMS">http://wms.lizardtech.com/lizardtech/iserv/ows?service=WMS</a>',<br>
'format'=>'image/jpeg',<br> 'minresolution'=>'1',<br> 'maxresolution'=>'17',<br> 'layers'=>'DC',<br>
'copyrights' => array(array(<br> 'minzoom'=>'1',<br> 'bounds'=>'-190,-90,180,90',<br> 'text'=>'&copy; lizardtech',<br>
)),<br> 'overlaywith'=>'Hybrid',<br> 'merczoomlevel'=>'5',<br> ),<br>array('name'=>'NASA_JPL',<br> 'url'=>'<a href="http://wms.jpl.nasa.gov/wms.cgi?service=WMS">http://wms.jpl.nasa.gov/wms.cgi?service=WMS</a>',<br>
'format'=>'image/jpeg',<br> 'minresolution'=>'1',<br> 'maxresolution'=>'17',<br> 'layers'=>'global_mosaic',<br>
'copyrights' => array(array(<br> 'minzoom'=>'1',<br> 'bounds'=>'-190,-90,180,90',<br> 'text'=>'&copy; NASA',<br>
)),<br> 'overlaywith'=>'Hybrid',<br> 'merczoomlevel'=>'5',<br> ),<br>);<br><br>$mymap=array('id' => 'map',<br>
'control' => 'Large',<br> 'tcontrol' => 'on',<br> 'zoom' => $zoom,<br> 'center' => $north.','.$east,<br>
'width' => '100%',<br> 'height' => '500px',<br> 'type' => 'Satellite',<br> 'wmss' => $mywmss,<br> );<br>
<br>echo gmap_draw_map($mymap);<br>?><br></pre>Thank you very much for advance.<br><br>Gustavo.-<br>-- <br><img src="https://mail.google.com/mail/photos/static/AD34hIjjBmnkE3U8S8wsnNJqeXgUcV8Dz-kze2wsnATOHelbhgbRvllOd-LBCBH8RsVnsRSgxGrB7bCGhw9XdJugvQM174Xs-Q9D06g4GcIc1wBhWBgrYRk"><br>
Linux es Libertad<br><br>