<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>More specifically: first make sure that the module and its dependencies are up to date (Drupal core too, really). &nbsp;</div><div><br></div><div>Then *search* the module issue queue, THEN open an issue if you haven't figured it out.</div><div><br></div><div>Module maintainers have limited time, so if you want some of it, make sure that you actually need it first and try to make it easier on them.</div><div><br></div><div>- Ken Winters</div><br><div><div>On Aug 2, 2010, at 10:26 PM, nan wich wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, helvetica, sans-serif; font-size: 12pt; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Post an issue in the Gmap issue queue.<br>&nbsp;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12pt; font-family: arial, helvetica, sans-serif; "><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold; ">From:</span></b><span class="Apple-converted-space">&nbsp;</span>Gustavo Cabral &lt;<a href="mailto:gmcabral@gmail.com">gmcabral@gmail.com</a>&gt;<br><b><span style="font-weight: bold; ">To:</span></b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:development@drupal.org">development@drupal.org</a><br><b><span style="font-weight: bold; ">Sent:</span></b><span class="Apple-converted-space">&nbsp;</span>Mon, August 2, 2010 10:09:58 PM<br><b><span style="font-weight: bold; ">Subject:</span></b><span class="Apple-converted-space">&nbsp;</span>Re: [development] Substitute for the function gmap_draw_map()<br></font><br><br><br><div class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2010/8/2 Gustavo Cabral<span class="Apple-converted-space">&nbsp;</span><span dir="ltr">&lt;<a href="mailto:gmcabral@gmail.com" target="_blank" rel="nofollow" ymailto="mailto:gmcabral@gmail.com">gmcabral@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="padding-left: 1ex; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; ">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">The problem is that the code uses the function gmap_draw_map()</span>,<span class="Apple-converted-space">&nbsp;</span><span dir="ltr">and searching on<span class="Apple-converted-space">&nbsp;</span><a href="http://drupal.org/" target="_blank" rel="nofollow">drupal.org</a><span class="Apple-converted-space">&nbsp;</span>I could see that the function was removed</span><span class="Apple-converted-space">&nbsp;</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>&lt;?php<br><br>$north = 38.897546;<br>$east  = -77.039394;<br>$zoom  = 16;<br><br>$mywmss=array(<br>array('name'=&gt;'Terraserver',<br>                   
 'url'=&gt;'<a href="http://terraservice.net/ogcmap6.ashx?'">http://terraservice.net/ogcmap6.ashx?'</a>,<br>

                    'format'=&gt;'image/jpeg',<br>                    'minresolution'=&gt;'1',<br>                    'maxresolution'=&gt;'17',<br>                    'layers'=&gt;'DOQ',<br>

                    'copyrights' =&gt; array(array(<br>                      'minzoom'=&gt;'1',<br>                      'bounds'=&gt;'-190,-90,180,90',<br>                      'text'=&gt;'&amp;copy; terrasever',<br>

                      )),<br>                    'overlaywith'=&gt;'Hybrid',<br>                    'merczoomlevel'=&gt;'5',<br>    ),<br>array('name'=&gt;'Lizardtech',<br>
                    'url'=&gt;'<a href="http://wms.lizardtech.com/lizardtech/iserv/ows?service=WMS'">http://wms.lizardtech.com/lizardtech/iserv/ows?service=WMS'</a>,<br>
                    'format'=&gt;'image/jpeg',<br>                    'minresolution'=&gt;'1',<br>                    'maxresolution'=&gt;'17',<br>                    'layers'=&gt;'DC',<br>

                    'copyrights' =&gt; array(array(<br>                      'minzoom'=&gt;'1',<br>                      'bounds'=&gt;'-190,-90,180,90',<br>                      'text'=&gt;'&amp;copy; lizardtech',<br>

                      )),<br>                    'overlaywith'=&gt;'Hybrid',<br>                    'merczoomlevel'=&gt;'5',<br>    ),<br>array('name'=&gt;'NASA_JPL',<br>                    'url'=&gt;'<a href="http://wms.jpl.nasa.gov/wms.cgi?service=WMS'">http://wms.jpl.nasa.gov/wms.cgi?service=WMS'</a>,<br>

                    'format'=&gt;'image/jpeg',<br>                    'minresolution'=&gt;'1',<br>                    'maxresolution'=&gt;'17',<br>                    'layers'=&gt;'global_mosaic',<br>

                    'copyrights' =&gt; array(array(<br>                      'minzoom'=&gt;'1',<br>                      'bounds'=&gt;'-190,-90,180,90',<br>                      'text'=&gt;'&amp;copy; NASA',<br>

                      )),<br>                    'overlaywith'=&gt;'Hybrid',<br>                    'merczoomlevel'=&gt;'5',<br>    ),<br>);<br><br>$mymap=array('id' =&gt; 'map',<br>

             'control' =&gt; 'Large',<br>             'tcontrol' =&gt; 'on',<br>             'zoom' =&gt; $zoom,<br>             'center' =&gt; $north.','.$east,<br>

             'width' =&gt; '100%',<br>             'height' =&gt; '500px',<br>             'type' =&gt; 'Satellite',<br>             'wmss' =&gt; $mywmss,<br>             );<br>

<br>echo gmap_draw_map($mymap);<br>?&gt;<br></pre>Thank you very much for advance.<br></blockquote></div>I found the sustitute of gmap_draw_map(), simply replace theme('gmap', array('#settings' =&gt; $mymap));<br>Now, when I put that code I get the next message: Javascript is required to view this map.<br>How can I solve this?<br>Thanks<br></div></div></div></div></span></blockquote></div><br></body></html>