软测单独项目
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.
 
 
 
 
 
 

45 lines
2.0 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>
<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
<link href="../../css/newtheme/layerextend.css" rel="stylesheet" media="all" />
<style type="text/css">
/* body {
font-size: 13px;
margin: 10px
}*/
</style>
</head>
<body class="childrenBody">
<!--<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 class="layui-inline" style="z-index:999;">
<div class="layui-input-inline">
<input type="text" id="poiname" class="layui-input" placeholder="请输入查询的位置" />
</div>
<a id="search" class="layui-btn" data-type="reload">搜索</a>
<div class="layui-input-inline">
<input type="text" id="districtName" class="layui-input" placeholder="点击地图获取坐标" />
</div>
</div>
<!--<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>