On Apr 13, 11:18 am, Zeeshan <[email protected]> wrote:
> Hi
>
> Please take a look at this page :
>
> http://www.usabanklocations.com/showbank.php?bank=Academy-Bank
>
> You can see the map Code by (View Source)
>
> Please let me know what is wrong in the code and why the Markers are
> not appearing.
>

1. You shouldn't geocode know points everytime the page loads.  See
Mike Williams' explaination in his tutorial:
Part 17 Geocoding multiple addresses
http://econym.org.uk/gmap/geomulti.htm

2. Your immediate problem is that your map is created in your onload
function, after the page has loaded, but your calls to the geocoder
happen inline, before the map is defined, so it is null.  You can't
add the markers until after the map is created (and initialized with
setCenter).

  -- Larry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to