升级传单地图库的步骤

时间:2015-08-13 08:47:23

标签: javascript leaflet mapbox

我在我的应用程序中的index.html中提到了以下库路径我想将map和leaflet库升级到新版本。所以请帮助, 1.我需要添加哪些库? 2.以下任何库路径是否可替换

<link rel="stylesheet" href="//api.tiles.mapbox.com/mapbox.js/v1.6.1/mapbox.css">
    <link rel="stylesheet" href="//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/MarkerCluster.Default.css">

<script src="//api.tiles.mapbox.com/mapbox.js/v1.6.1/mapbox.js"></script>
    <script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/leaflet.markercluster.js'></script>

1 个答案:

答案 0 :(得分:0)

很难说出你在问什么。您是否询问这些库是否有新版本?如果是这样,是的 - 您可以谷歌搜索库名称,例如Mapbox.js,并看到版本2.2.1可用,并且包含新版本的代码突出显示在该页面上。