我的代码显示不出地图,请老师帮我查一下。
<!DOCTYPE html>
<html style="width:100%;height: 100%;">
<head lang="en">
<meta charset="UTF-8">
<title>Demo</title>
</head>
<body style="width:100%;height: 100%;margin: 0;">
<div id="map" style="width: 100%;height: 100%;"></div>
<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.3&key=d0863fbc69ae08712abbd928ed8a5aa1"></script>
<script type="text/javascript">
(function(){
var map = new AMap.Map('map');
});
</script>
</body>
</html>