api - Return data using a marker in Google Maps v3 -
Is it possible that street address, province, zip code (postal code) by using a marker in Google Maps, Come back to the city and country? V3? Sometimes data is not returned using formatted_address. Is there any way I can do something special? Such as return [1]. Whistle, returns [1]. Country, Returns [1]. Address ... Yes. I wrote a function that reads the components of geographic results. Here is a complete example Doctype html & gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; Style & gt; # Map-canvas {width: 500px; Height: 400 pixels; } & Lt; / Style & gt; & Lt; Script type = "text / javascript" src = "http://maps.googleapis.com/maps/api/js?sensor=false" & gt; & Lt; / Script & gt; & Lt; Script & gt; Function init () {var center = new google.maps.LatLng (50.845464, 4.3571121); // Brussels classocoder; Geocodar = new google.maps.Geocoder (); Var map = new google.maps.Map (document.getElementByI...