The page calls createMarker() before loadMap().
On Dec 24, 9:13 am, "[email protected]" <[email protected]>
wrote:
> On Dec 24, 8:49 am, Tim <[email protected]> wrote:
>
> > I've got an odd issue that I just can't spot on this
> > page:http://nhsht.thesitedoctor.co.uk/schools-and-training.aspx
>
> > For some reason, the same infoWindow is show for each point and I've
> > not unrolled any of the functions as far as I'm aware.
>
> > I'm sure it's something obvious, can you spot it?
>
> The map doesn't show any markers at all in FF. The error console
> reports the following 2 errors:
> =============================================
> Error: illegal character
> Source File:http://nhsht.thesitedoctor.co.uk/schools-and-training.aspx
> Line: 119
> Source Code:
> ‘UA-6784143-1’, // Your GA tracker code
> =============================================
> Error: map is undefined
> Source File:http://nhsht.thesitedoctor.co.uk/scripts/gmap.js
> Line: 36
> =============================================
>
> I do see the behavior you describe in IE7. All the markers have the
> contents of the _last_ marker.
>
> Observation: You are geocoding your markers everytime you load the
> page and running multiple geocodes in parallel. That is bad practice
> (unless the markers will move). Try geocoding them once then using
> the coordinates in your page. See this page from Mike Williams'
> tutorial for more information:
> Part 17 Geocoding multiple addresseshttp://econym.org.uk/gmap/geomulti.htm
>
> -- 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
-~----------~----~----~----~------~----~------~--~---