其他分享
首页 > 其他分享> > 在leaftlet中高德地图如何加载wgs84地理信息

在leaftlet中高德地图如何加载wgs84地理信息

作者:互联网

<title>高德-OSM-天地图瓦片对比</title>

<meta charset="utf-8" />

<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.1/dist/leaflet.css" />

<script src="https://unpkg.com/leaflet@1.0.1/dist/leaflet.js"></script>

<script src="https://cdn.bootcss.com/proj4js/2.4.3/proj4.js"></script>

<script src="https://cdn.bootcss.com/proj4leaflet/1.0.1/proj4leaflet.min.js"></script>

<style>

body {

    padding: 0;

    margin: 0;

}

html,

body,

#map {

    height: 100%;

    width: 100%;

}

</style>
<div id="map"></div>

标签:body,map,地理信息,leaftlet,wgs84,100%,地图
来源: https://blog.csdn.net/cuisidong1997/article/details/121346093