On Oct 31, 5:20 am, mnew <[EMAIL PROTECTED]> 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.

If lat or lng are zero, you don't put the html in the sidebar or in
the "unknown" element.  I would suggest moving this code:
          document.getElementById("side_bar").innerHTML = '<form
id="DDClubs2" name="DDClubs2"><select name="DDClubs" id="DDClubs"
onChange="Navigate()"><option>Choose a club</option>'+ side_bar_html
+'</select></form>';
          document.getElementById("unknown").innerHTML = unknownhtml;

outside of the loop (since right now it replaces the entire contents
of the div every time you process a marker, you only need to do that
after you have finished processing all the markers anyway.  There are
other potential issues, but that will make the last "unknown" entries
appear.

  -- Larry


>
> On Oct 30, 1:19 pm, Mike Williams <[EMAIL PROTECTED]> wrote:
>
> > You only plot markers for entries that have latitude and longitude
> > information:
>
> > E.g. this one gets plotted:
>
> > <simsmapquery>
> > <Clubname>Windsor Bridge Club</Clubname>
> > <COUNTY>Berkshire</COUNTY>
> > <Contact_x0020_phone_x0020_number>N/A</Contact_x0020_phone_x0020_number>
> > <Latitude>51.48075794</Latitude>
> > <Longitude>-0.63740024</Longitude>
> > <URL>http://www.windsorbridgeclub.org.uk</URL>
> > </simsmapquery>
>
> > But this one doesn't because it has no <Latitude> or <Longitude>
>
> > <simsmapquery>
> > <Clubname>Worcestershire C B A</Clubname>
> > <COUNTY>Worcestershire</COUNTY>
> > <Contact_x0020_phone_x0020_number>01299
> > 271099</Contact_x0020_phone_x0020_number>
> > <URL>http://www.wcba.freeserve.co.uk</URL>
> > </simsmapquery>
>
> > --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
-~----------~----~----~----~------~----~------~--~---

Reply via email to