Commit 73f9107f by hanjixin

合并文件

parents 2ba0dccc 71f18484
......@@ -12,7 +12,7 @@
html,
#container {
margin: 0;
width: 90%;
width: 100%;
height: 100%;
}
</style>
......@@ -23,7 +23,7 @@
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script src="https://webapi.amap.com/maps?v=1.4.15&key=ee7327615de4d673c4e455a772da45fd&plugin=Map3D,AMap.DistrictSearch,ElasticMarker"></script>
<script src="https://webapi.amap.com/ui/1.0/main.js?v=1.0.11"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js"></script> -->
<script language="javascript">
// open -n /Applications/Google\ Chrome.app/ --args --disable-web-security --user-data-dir=/Users/ff/git/
......@@ -159,8 +159,7 @@
//首先放置背景区域,这里是大陆的边界
path.push(getLongestRing(cityNode.getParentFeature()));
// debugger;
path.push.apply(path, [boundsPath]);
path.push.apply(path, boundsPath);
var polygon = new AMap.Polygon({
bubble: true,
lineJoin: 'round',
......@@ -221,7 +220,7 @@
fillColor: 'black', //填充色
fillOpacity: 0, //填充透明度
map: map,
path: [bounds2Path(result.districtList[0].boundaries)]
path: bounds2Path(result.districtList[0].boundaries)
});
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment