<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). </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> </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"> </span>Gustavo Cabral <<a href="mailto:gmcabral@gmail.com">gmcabral@gmail.com</a>><br><b><span style="font-weight: bold; ">To:</span></b><span class="Apple-converted-space"> </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"> </span>Mon, August 2, 2010 10:09:58 PM<br><b><span style="font-weight: bold; ">Subject:</span></b><span class="Apple-converted-space"> </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"> </span><span dir="ltr"><<a href="mailto:gmcabral@gmail.com" target="_blank" rel="nofollow" ymailto="mailto:gmcabral@gmail.com">gmcabral@gmail.com</a>></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"> </span><span dir="ltr">and searching on<span class="Apple-converted-space"> </span><a href="http://drupal.org/" target="_blank" rel="nofollow">drupal.org</a><span class="Apple-converted-space"> </span>I could see that the function was removed</span><span class="Apple-converted-space"> </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><?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></blockquote></div>I found the sustitute of gmap_draw_map(), simply replace theme('gmap', array('#settings' => $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>