<!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>
<title>地图控件</title>
<link href="ol/ol.css" rel="stylesheet" type="text/css" />
<script src="ol/ol.js" type="text/javascript"></script>
<style type="text/css">
html,body{
height: 100%;
margin: 0px !important;
}
#mapCon {
width: 100%;
height: 100%;
position: absolute;
}
/* 鼠标位置盒子的样式 */
#mouse-position {
position: absolute;
bottom: 10px;
right: 20px;
padding: 2px 10px;
/* 需要设置的大一些才能显示在地图上面 */
z-index: 1000;
text-align: center;
11-03
1964
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-23
563
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-05
1487
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交