On Jun 29, 12:30 pm, "[email protected]" <[email protected]>
wrote:
> On Jun 29, 11:31 am, jayjayc <[email protected]> wrote:
>
> > I am trying to geocode a couple of addresses passed by a url and use
> > the MarkerManager to display them.
>
> > My map will center around the location, but will not place the
> > marker(s).
>
> > Here is a copy with a single address as an 
> > example:http://sharepoint.advancedtelesystems.com/public/Downloads/MapIntegra...
>
> > Thanks
>
> Geocoding is asynchronous.
>
> Javascript Concepts - Part 2 Asynchronous 
> I/Ohttp://econym.org.uk/gmap/async.htm
>
> You send off the request for the coordinates of the address, then add
> the empty array to the marker manager.  Some time later the response
> comes back and causes the map to be centered on the address, but you
> never add the array with markers in it to the marker manager.

I hope you realize that this approach will not work well for more than
about 10 markers.  The usual advice is to store your points in a
database with the coordinates geocoded "offline".  Only geocode points
that you don't know in advance, that the user enters.


   -- 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.

Reply via email to