Yes, use reverse Geocoding like this for example
public function doReverseGeocode(latLng:LatLng) : void {
var myGeocoder:ClientGeocoder=new ClientGeocoder(
new
ClientGeocoderOptions ({
countryCode: Constants.COUNTRY_CODE,
language: Constants.LANGUAGE
})
);
// the geocoder events
myGeocoder.addEventListener(
GeocodingEvent.GEOCODING_FAILURE,
function
processFailure(geoEvent:GeocodingEvent):void {
alert("Error in reverse geocode");
});
myGeocoder.addEventListener(
GeocodingEvent.GEOCODING_SUCCESS,
function
geocodingSucceded(geoEvent:GeocodingEvent):void {
var placemark:Placemark =
geoEvent.response.placemarks[0];
alert("adress is "+ placemark.address);
});
myGeocoder.reverseGeocode(latLng);
}
On 20 déc, 18:17, Gabriel Palucoski Pinheiro
<[email protected]> wrote:
> I'm using Flah Builder 4.6 and wanted to know if I can get the full
> address (Street, Number, City, etc ...) passing the latitude and
> longitude, if someone can show me an example, thank you.
--
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 [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-for-flash?hl=en.