The one that doesn't work has several different functions that create
the map. createMapNoMarkers(), createMap(), function
createMapForPlacingMarkers(), createMapWithPostcode() and
createMediumMap().
Some of them are like the code in the version that works, in that they
contain this line:
geocoder = new GClientGeocoder();
and some of them, in particular createMapNoMarkers() don't contain that
line, so they leave geocoder = null.
When you get here:
function showAddress(address) {
if (geocoder) {
geocoder.getLatLng(...)
If geocoder is still null, the geocoding is skipped.
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---