Closed (fixed)
Project:
GMapEZ
Version:
5.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2008 at 23:06 UTC
Updated:
17 Jan 2009 at 21:20 UTC
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
Comment #1
dhartman commentedThe gmapez.js file needs to be updated to work around some changes by Google.
Comment #2
L0rne commentedI removed this line from the original js file (gmapez-2.4-improved.js), and the logo is now gone.
line 721:
Thanks for the pointer.
Comment #3
klucid commentedWORKS!