Barry, no geocoding in the database.  I'm pulling the address, city,
state, zip and feeding it to GLatLng on the fly to get the geocoding.
It seems that's not really the proper way to use the resource,
correct?

On Dec 8, 2:25 pm, Barry Hunter <[email protected]> wrote:
> For starters see:http://www.econym.org.uk/gmap/geomulti.htm
>
> As you are doing a DB lookup, does that mean you already have
> geocoding in your DB?
>
> As already mentioned you can use function closure, just wrap your
> geocoder.getLatLng call in a function (like createMarker is)
>
> 2009/12/8 ScottKustes<[email protected]>:
>
>
>
> > I have an issue when placing my map markers.  All of the have the same
> > info on the pop-up window, even though the markers are placed
> > correctly.
>
> > URL:http://bodyfitburn.com/fitnessdirectory/directory/
> > Search by: 40217
> > Suspected issue: GLatLng call in setMapMarkers
>
> > I assume the asynchronous nature of GLatLng is causing the issue and
> > the JS loop is getting to the end before the callback function gets
> > invoked the first time.  Do I need to geocode the addresses when they
> > are entered into the database or is there a way to make sure the
> > callback gets the right data?
>
> > --
>
> > 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 
> > athttp://groups.google.com/group/google-maps-api?hl=en.
>
> --
> Barry
>
> -www.nearby.org.uk-www.geograph.org.uk-

--

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