Hi Drupalers<br>I need to post in nodes distinct maps of my own (I&#39;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&#39;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">&lt;?php<br><br>$north = 38.897546;<br>$east  = -77.039394;<br>$zoom  = 16;<br><br>$mywmss=array(<br>array(&#39;name&#39;=&gt;&#39;Terraserver&#39;,<br>                    &#39;url&#39;=&gt;&#39;<a href="http://terraservice.net/ogcmap6.ashx?">http://terraservice.net/ogcmap6.ashx?</a>&#39;,<br>
                    &#39;format&#39;=&gt;&#39;image/jpeg&#39;,<br>                    &#39;minresolution&#39;=&gt;&#39;1&#39;,<br>                    &#39;maxresolution&#39;=&gt;&#39;17&#39;,<br>                    &#39;layers&#39;=&gt;&#39;DOQ&#39;,<br>
                    &#39;copyrights&#39; =&gt; array(array(<br>                      &#39;minzoom&#39;=&gt;&#39;1&#39;,<br>                      &#39;bounds&#39;=&gt;&#39;-190,-90,180,90&#39;,<br>                      &#39;text&#39;=&gt;&#39;&amp;copy; terrasever&#39;,<br>
                      )),<br>                    &#39;overlaywith&#39;=&gt;&#39;Hybrid&#39;,<br>                    &#39;merczoomlevel&#39;=&gt;&#39;5&#39;,<br>    ),<br>array(&#39;name&#39;=&gt;&#39;Lizardtech&#39;,<br>                    &#39;url&#39;=&gt;&#39;<a href="http://wms.lizardtech.com/lizardtech/iserv/ows?service=WMS">http://wms.lizardtech.com/lizardtech/iserv/ows?service=WMS</a>&#39;,<br>
                    &#39;format&#39;=&gt;&#39;image/jpeg&#39;,<br>                    &#39;minresolution&#39;=&gt;&#39;1&#39;,<br>                    &#39;maxresolution&#39;=&gt;&#39;17&#39;,<br>                    &#39;layers&#39;=&gt;&#39;DC&#39;,<br>
                    &#39;copyrights&#39; =&gt; array(array(<br>                      &#39;minzoom&#39;=&gt;&#39;1&#39;,<br>                      &#39;bounds&#39;=&gt;&#39;-190,-90,180,90&#39;,<br>                      &#39;text&#39;=&gt;&#39;&amp;copy; lizardtech&#39;,<br>
                      )),<br>                    &#39;overlaywith&#39;=&gt;&#39;Hybrid&#39;,<br>                    &#39;merczoomlevel&#39;=&gt;&#39;5&#39;,<br>    ),<br>array(&#39;name&#39;=&gt;&#39;NASA_JPL&#39;,<br>                    &#39;url&#39;=&gt;&#39;<a href="http://wms.jpl.nasa.gov/wms.cgi?service=WMS">http://wms.jpl.nasa.gov/wms.cgi?service=WMS</a>&#39;,<br>
                    &#39;format&#39;=&gt;&#39;image/jpeg&#39;,<br>                    &#39;minresolution&#39;=&gt;&#39;1&#39;,<br>                    &#39;maxresolution&#39;=&gt;&#39;17&#39;,<br>                    &#39;layers&#39;=&gt;&#39;global_mosaic&#39;,<br>
                    &#39;copyrights&#39; =&gt; array(array(<br>                      &#39;minzoom&#39;=&gt;&#39;1&#39;,<br>                      &#39;bounds&#39;=&gt;&#39;-190,-90,180,90&#39;,<br>                      &#39;text&#39;=&gt;&#39;&amp;copy; NASA&#39;,<br>
                      )),<br>                    &#39;overlaywith&#39;=&gt;&#39;Hybrid&#39;,<br>                    &#39;merczoomlevel&#39;=&gt;&#39;5&#39;,<br>    ),<br>);<br><br>$mymap=array(&#39;id&#39; =&gt; &#39;map&#39;,<br>
             &#39;control&#39; =&gt; &#39;Large&#39;,<br>             &#39;tcontrol&#39; =&gt; &#39;on&#39;,<br>             &#39;zoom&#39; =&gt; $zoom,<br>             &#39;center&#39; =&gt; $north.&#39;,&#39;.$east,<br>
             &#39;width&#39; =&gt; &#39;100%&#39;,<br>             &#39;height&#39; =&gt; &#39;500px&#39;,<br>             &#39;type&#39; =&gt; &#39;Satellite&#39;,<br>             &#39;wmss&#39; =&gt; $mywmss,<br>             );<br>
<br>echo gmap_draw_map($mymap);<br>?&gt;<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>