Thanks everyone for your suggestions. Mike's answer fixed the problem
perfectly. You are a genius!
On Oct 31, 1:01 pm, Mike Williams <[EMAIL PROTECTED]> wrote:
> Wasn't it mnew who wrote:
>
>
>
> >I undersatnd what you are saying. But the idea for the web page is the
> >records that don't have long / lat ( as we don't have thier post
> >code ) should show in a list at the bottom of the map. Which most of
> >them do, but not all. It is very strange.
>
> You add information about such clubs to your unknownhtml string when you
> find them, but you only render that string after you find a club that
> does have a location.
>
> if ( !lat == 0 ) {
> if (!lng == 0){
> ...
> document.getElementById("unknown").innerHTML = unknownhtml;
> ...
> }
> }
>
> Windsor Bridge Club is the last club that does have a location, so
> that's the last time that the unknown div gets updated. The information
> about Woodham Ferrers, Worcestershire and Worthing is added to
> unknownhtml, but never displayed.
>
> --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
-~----------~----~----~----~------~----~------~--~---