> Now I know where is the problem, can you give me a little example of > code to store geocode's result in a variable (such as userPosition) ?
It's a useless undertaking ; the rest of your code will not know when the variable has been populated in the callback function. Do whatever you want to do with it inside the callback function. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
