下面的代码应该在百度地图上标记出5个点,为什么只显示了1个?
请老师指教!
<!DOCTYPE html>
<html lang='zh-CN'>
<head>
<meta charset='utf-8'>
<title>添加点标记</title>
<meta http-equiv='Content-Type' c>
<meta name='viewport' c>
<meta http-equiv='X-UA-Compatible' c>
<style>
body,
html,
#container {
overflow: hidden;
width: 100%;
height: 100%;
margin: 0;
font-family: '微软雅黑';
}
</style>
<script src='//api.map.baidu.com/api?type=webgl&v=1.0&ak=7li9FQteA7u63c5WoIDG3BzNPdhcYwmP'></script>
</head>
<body>
<p>苏E6F715 共停车5次 如下:</p>
<div id='container'></div>
<p>江苏省苏州市姑苏区公厕,南方向,73.3米 从2020-10-12 00:47:49 到 2020-10-12 06:01:29 停车时长:313.0分</p>
<p>江苏省苏州市吴中区方达街37号忆科华电子系统(苏州)公司,东南方向,15.4米 从2020-10-12 07:03:10 到 2020-10-12 11:06:22 停车时长:243.0分</p>
<p>江苏省苏州市吴中区方达街36号巴赛尔聚烯烃工程塑料(苏州)公司,东北方向,39.3米 从2020-10-12 11:06:34 到 2020-10-12 11:32:43 停车时长:26.0分</p>
<p>江苏省苏州市吴中区金江路2号西南方向170米金华盛纸业(苏州工业园区)有限公司3号门,西北方向,153.5米 从2020-10-12 11:49:24 到 2020-10-12 14:30:36 停车时长:161.0分</p>
<p>江苏省苏州市吴中区九江路5苏州卓群机电科技有限公司,东南方向,56.4米 从2020-10-12 14:31:34 到 2020-10-12 17:29:39 停车时长:178.0分</p>
</body>
</html>
<script>
var map = new BMapGL.Map('container');
map.centerAndZoom(new BMapGL.Point(120.559605856826,31.369295290642), 15);
map.enableScrollWheelZoom(true);
var marker0 = new BMapGL.Marker(new BMapGL.Point(120.559605856826, 31.369295290642));
var marker1 = new BMapGL.Marker(new BMapGL.Point(120.809351136747, 31.3229820638879));
var marker2 = new BMapGL.Marker(new BMapGL.Point(120.809488099329, 31.3238495059568));
var marker3 = new BMapGL.Marker(new BMapGL.Point(120.844494189707, 31.3221465551644));
var marker4 = new BMapGL.Marker(new BMapGL.Point(120.842407129589, 31.3222592929193));
map.addOverlay(marker0);
map.addOverlay(marker1);
map.addOverlay(marker2);
map.addOverlay(marker3);
map.addOverlay(marker4);
</script>