One problem is that localSearch is a global variable, so all the .setSearchCompleteCallback()s are being set on the same GLocalSearch() instance. When a search completes, there's no way for the AJAX Search API to know which of those callbacks you want it to report to.
You either need to use a separate GLocalSearch() instance for each simultaneous search or geocode all your locations offline beforehand and store the coordinates, rather than using the AJAX Search API to regeocode then every time someone opens your page. -- Mike Williams http://econym.org.uk/gmap -- 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.
