I'm building a Flex application that stores data about a user, including their current location from Google maps, to be stored in an XML file.
My application currently searches my map for a location, when Google Maps finds a result it sets the result to center of the map and places a marker. I cannot for the life of me get it to display the Latitude/ Longitude of that marker. I have found some code that allows the user to click the map and retrieve the Lat/Lng of that click, but not anything that will provide values on the search that I have. The strange thing is that geolocation is the conversion of an address to Lat/Lng, which is performed successfully, so why can't Google Maps then display the values it just calculated? Basically what I need is this: 1. The user enters various data 2. The user types in their current town/city 3. The map searches for the town/city 4. The result is displayed and a marker pops up 5. The app asks the user if they want to change their location to said city. 6. The user clicks 'Yes' and the Lat/Lng is then stored in the XML file. 7. Later a user can search for other users within a certain radius of the location they set themselves to. I hope i've just missed something really simple and obvious, but i've got a feeling it's not possible :( -- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. To post to this group, send email to google-maps-api-for-flash@googlegroups.com. To unsubscribe from this group, send email to google-maps-api-for-flash+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en.