Joomla Google Maps – blank map with markers

Google Maps is a wonderful joomla component, unfortunately when I tried showing my ‘international’ address as a marker on the map, it gave me a blank page (with nothing shown, not even the map). After a lot of tracing, and recognizing that the lat and long of the address are not even saved, I found the bug.

commenting the following line in google_maps.class.php did the trick:

$this->checkLatLong();

This line is there to geocode the address to its longitude and latitude – a functionality that is not currently included in the map API. Note: checkLatLong2 hack to resolve International addresses does not work, could be because of a change in the API.
A little test can be added to the function so that if it’s a US address ($this->country == ‘US’ or ..) the checkLatLong() could be invoked.