高德地图JS实现

2020-10-28 15:39:10 浏览数 (2)

代码语言:javascript复制
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<script>
		window.onload=function()
		{
			new AMap.Map('container');
			var jMap=document.createElement("script");
						<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=c6e183994605d131f97132d2f296d713">
document.body.appendChild(jMap);
		}
	</script>
</body>
</html>

0 人点赞