You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.4 KiB
31 lines
1.4 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>获取点击坐标</title>
|
|
<script type="text/javascript" language="javascript" src="//webapi.amap.com/maps?v=1.4.15&key=55d9d8a1e64f4f968213df505979cc4b&plugin=AMap.MarkerClusterer"></script>
|
|
<script type="text/javascript" src="https://cache.amap.com/lbs/static/addToolbar.js"></script>
|
|
<script src="../../js/jquery-2.1.3.min.js"></script>
|
|
<style type="text/css">
|
|
/* body {
|
|
font-size: 13px;
|
|
margin: 10px
|
|
}*/
|
|
</style>
|
|
</head>
|
|
<body style="color:#fff;">
|
|
<!--<input type="text" id="poiname" style="width:300px"placeholder="请输入查询的位置" value=""/><button id="search">查询</button>
|
|
<br />
|
|
<input type="text" id="districtName" style="width:300px" value=""/>点击地图获取坐标-->
|
|
|
|
<!--<div id="container" style=" position:absolute; top:50px; bottom:0px; left:0px; right:0px;margin-top: 10px;"></div>-->
|
|
<div id="container" style=" position:absolute; top:0px; bottom:0px; left:0px; right:0px;margin-top:0px;"></div>
|
|
|
|
<!--<br />-->
|
|
<script type="text/javascript">
|
|
document.write('<script src="getGPS.js"><\/script>');
|
|
</script>
|
|
<!--<script src="getGPS.js"></script>-->
|
|
|
|
</body>
|
|
</html>
|