I have this module working pretty well (using gmapez_add_script() and the GMapEZ div in a Contemplate template). The map loads up fine, but the GMapEZ logo that overlays the map doesn't go away.

I see the same logo over the maps on GMapEZ site as a loading bar, but they disappear when the map is done loading.

Could there be something that I have missed?

Here is the code from the Contemplate body field for the node type I am working with:

<?php 
if ($node->field_address[0]['view']) { 

$address = drupal_urlencode(check_plain($node->field_address[0]['value']));
$city = drupal_urlencode($node->field_address_region[0][1083]->name); 
 $province = drupal_urlencode($node->field_address_region[0][1085]->name); 
$country = drupal_urlencode($node->field_address_region[0][3925]->name); 

echo gmapez_add_script();
?>

<div class="GMapEZ GSmallMapControl" style="width: 300px; height: 300px;"><a href="http://maps.google.com/maps?q=<?=$address ?>,%20<?=$city  ?>,%20<?=$province  ?>,%20<?=$country  ?>"></a></div>
<a href="http://n01se.net/gmapez/"><img
alt="Powered By GMapEZ"
src="http://gmapez.googlepages.com/poweredbygmapez.jpg"
style="width:73px;height:25px;border:none;" /></a>
<?php } ?>

Thanks.

Comments

dhartman’s picture

The gmapez.js file needs to be updated to work around some changes by Google.

L0rne’s picture

I removed this line from the original js file (gmapez-2.4-improved.js), and the logo is now gone.

line 721:

this.loading.innerHTML = '<div class="box"><div class="logo"></div><div class="trough"><div class="bar"></div></div></div>';

Thanks for the pointer.

klucid’s picture

Status: Active » Fixed

WORKS!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.