<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>高德地图 - 点聚合</title>
<link rel="shortcut icon" href="#" />
<link rel="stylesheet" href="https://cache.amap.com/lbs/static/main1119.css"/>
<style>
#container {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="container"></div>
</body>
<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.6&key=fb5dce704318a76bbbdc4dfbff58cc83&plugin=AMap.MarkerClusterer"></script>
<script type="text/javascript">
var map = new AMap.Map('container', {
resizeEnable: true,
zoom: 9,
// center: [121.481041,31.683859], //崇明东平森林公园经纬度
center: [121.635058,31.576855] //崇明岛经纬度
});
// map.setMapStyle('amap://styles/darkblue'); // 标准 darkblue
/
高德地图 - 点聚合自定义样式
最新推荐文章于 2025-06-18 17:32:11 发布