<! DOCTYPE html>
<meta http-equiv= "Content-type" content= "text/html; charset=utf-8" />
<meta name= "viewport" content= "Width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, User-scalable=no "/>
<title> Anti-address resolution </title>
<style type= "Text/css" >
*{
margin:0px;
padding:0px;
}
body, button, input, select, textarea {
font:12px/16px Verdana, Helvetica, Arial, Sans-serif;
}
p{
width:603px;
padding-top:3px;
margin-top:10px;
Overflow:hidden;
}
</style>
<script charset= "Utf-8" src= "Http://map.qq.com/api/js?v=2.exp" ></script>
<script>
get_address = function () {
Geocoder = new Qq.maps.Geocoder ({
complete:function (Result) {
Console.log (result.detail.address);
}
});
var latlng = new Qq.maps.LatLng (39.98174,116.30631);
geocoder.getaddress (LATLNG);
}();
</script>
<body >
<div>
<input id= "latlng" type= "textbox" value= "39.98174,116.30631" >
<input type= "button" value= "Search" onclick= "get_address ()" >
</div>
<div style= "width:603px;height:300px" id= "container" ></div>
<p> Enter coordinates, click Search for anti-address interpretation, click Marker will pop back results. </p>
</body>
Output (get) position name based on latitude and longitude