我有一个特定的要求,我必须使用 dojo 1.9 制作简单的地理地图。我从 openlayer 站点下载了 openlayer.js,但是当我运行该页面时,仍然没有显示任何内容。如果有人能帮助我解决我所缺少的东西,我将不胜感激。请找到以下代码。
<html>
<head>
<link rel="stylesheet" type="text/css" href="../../dijit/themes/dijit.css">
<link rel="stylesheet" type="text/css" href="../../dijit/themes/tundra/tundra.css">
<link rel="stylesheet" type="text/css" href="demo.css">
<title>Map</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="../../dijit/themes/tundra/OpenLayers.js"></script>
<script type="text/javascript" src="../../dojo/dojo.js" data-dojo-config="async: true"></script>
<script type="text/javascript" src="src.js"></script>
</head>
</html>