<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm11.aspx.cs" Inherits="JQGridExercise.WebForm11" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
body, html{width: 100%;height: 100%;margin:0;font-family:"微软雅黑";font-size:14px;}
#allmap {width:100%;height:500px;}
</style>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=63i90lOgvKon1KU0AnLGgGkC"></script>
<title>逆地址解析</title>
</head>
<body>
<div , attribute);


geoc.getLocation(pt, function (rs) {

var addComp = rs.addressComponents;
//alert(e.point.lng + ", " + e.point.lat);
alert(rs.address);
});
});
</script>

相关文章:

  • 2021-11-15
  • 2021-12-03
  • 2021-10-13
  • 2021-11-28
  • 2021-10-03
  • 2021-11-15
猜你喜欢
  • 2021-10-03
  • 2021-11-25
  • 2021-10-03
  • 2021-04-02
  • 2021-09-07
  • 2021-10-03
  • 2021-11-25
相关资源
相似解决方案