PDA

View Full Version : No bubble on small maps


colin282897
08-14-2009, 03:43 AM
Is it possible to NOT show the address bubble when the maps are small ie 140 x 140. Also the text at the bottom of the maps over laps the map when it is small.

Jason Byrnes
08-14-2009, 11:09 AM
To hide the info balloon, search the google_javascript/wagmp_map_1.js file. find all occurrences of:

if('address_<int>' == 'address_<int>')
marker_<int>.openInfoWindowHtml(address_<int>.infowindowtext);



where <int> is an integer starting at 0 and incrementing for each address in the map and comment the line:
//if('address_<int>' == 'address_<int>')
// marker_<int>.openInfoWindowHtml(address_<int>.infowindowtext);



As for the copy write overlapping, you can add overflow:hidden to the map div:
<div id="wagmp_map_1" style="width: 140px; height: 140px; overflow: hidden;"></div>