On Jan 6, 8:05 am, "[email protected]" <[email protected]> wrote: > Hi there. I have a very strange problem. > Basically I am trying to do a local search for all local accounts that > have a particular name. I can plot the first marker but during the > local search near the bottom there is a problem. Basically if I > uncomment the "alert(localPoint);", the code will work. I can see the > respective points and they are plotted. But, if i comment out the > "alert(localPoint);", > I can't see the local points. Instead I get an error stating "this.Q > is null" with relation to this line of code from firebug - > "kl.prototype.ud=function(a,b){return thi...tion().fromLatLngToPixel > (a,b||this.Ag)};" > > can someone help me out? Any ideas? Thanks
See Mike Williams' tutorial: Javascript Concepts Part 2 Asynchronous I/O http://econym.org.uk/gmap/async.htm > var defaultPoint = geocoder.getLatLng( the getLatLng method doesn't have a return value... it has a callback function. -- 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 -~----------~----~----~----~------~----~------~--~---
