我正在使用angularjs实现带有聚类标记的传单地图。单击按钮时,传单地图必须显示为空图层。我有一些Web控制台错误。我已经使用bower
安装了以下软件包bower install angular-leaflet-directive --save
bower install leaflet-plugins --save
它自动在index.html中添加了插件
<link rel="stylesheet" href="bower_components/leaflet/dist/leaflet.css" />
<link rel="stylesheet" href="bower_components/leaflet.markercluster/dist/MarkerCluster.css" />
<link rel="stylesheet" href="bower_components/leaflet.markercluster/dist/MarkerCluster.Default.css" />
<script src="bower_components/leaflet/dist/leaflet-src.js"></script>
<script src="bower_components/leaflet/dist/leaflet.js"></script>
<script src="bower_components/angular-leaflet-directive/dist/angular-leaflet-directive.js"></script>
<script src="bower_components/leaflet.markercluster/dist/leaflet.markercluster.js"></script>
但我无法解决这些网络控制台错误。请告诉我如何解决这个问题;