On Apr 21, 2:12 pm, "[email protected]" <[email protected]>
wrote:
> On Apr 21, 1:46 pm, "[email protected]" <[email protected]>
> wrote:
>
> > On Apr 21, 1:39 pm, dc7669 <[email protected]> wrote:
>
> > > Hi,
>
> > > Sorry all... I had a typo on the address...
>
> > >http://weather.gfc.state.ga.us/Google/Directory/Test-sample.htm
>
> > > How can I show the correct address in the Info box?  At the moment,
> > > all the addresses in the Info box have the same address.
>
> > What info box?
>
> FYI - the first time I load your page, I get a list of addresses, no
> map, and that is all I get in Chrome...
>
> In IE6 a refresh eventually shows a map.
>
> buf is now a global reference to the last element in the markers
> array.  When the callback function runs, it has the value of the last
> address.
>
> Why can't you put the latitude and longitude in the xml file and
> remove the dependency on the geocoder?
>
> It should be OK for this small number of points but it will run into
> problems if you add many more markers.
> See this explanation from Mike Williams' tutorial:
> Part 17 Geocoding multiple addresseshttp://econym.org.uk/gmap/geomulti.htm
>
> and these examples:
http://www.geocodezip.com/example_geomulti_bad.asp
http://www.geocodezip.com/example_geomulti_better.asp

http://www.geocodezip.com/example_geomulti_bad2.asp
http://www.geocodezip.com/example_geomulti_better2.asp

http://www.geocodezip.com/example_geomulti_bad3_xml.asp
your xml file, got some more addresses to add so it fails?

  -- Larry
>
>
>
>
>
> > > Thank you.
>
> > > dc7669
>
> > > On Apr 17, 8:06 pm, "[email protected]" <[email protected]>
> > > wrote:
>
> > > > On Apr 17, 12:07 pm,dc7669<[email protected]> wrote:
>
> > > > > > Your link doesn't work...
>
> > > > >http://weather.gfc.state.ga.us/Google/Directory/test-sample.htm
> > > > > Please try again.  This is something I don't quite understand, too.
> > > > > After making changes on the code, the updated program may not be
> > > > > running until a few minutes later.
> > > > > I seem to be able to pull the program up in IE7.
>
> > > > > > Geocoding is asynchronous.  When the callback function runs the for
> > > > > > loop has finished and i = the last entry.
>
> > > > > What should the solution be?
>
> > > > Fix it.  See Mike Williams tutorial, you are running into pitfall #3.
> > > > See this thread for some ideas on geocoding multiple 
> > > > points:http://groups.google.com/group/Google-Maps-API/browse_frm/thread/e2bf...
>
> > > >   -- Larry
>
> > > > > Thank you.
>
> > > > >dc7669- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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