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.
One Response
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
Hi,
it is much easier to change the option in the configuration-section/advanced of the componet where you choose “Automaticaly geodate”. If you set this to “No” it will affect the same.