# leaflet-vue-tiles **Repository Path**: dgreg/leaflet-vue-tiles ## Basic Information - **Project Name**: leaflet-vue-tiles - **Description**: vue2leaflet 加载天地图,包含使用wmts,经纬度投影和墨卡托投影 - **Primary Language**: Unknown - **License**: AFL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2021-09-26 - **Last Updated**: 2021-09-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # leaflet-vue-tiles ## Project setup ``` yarn install ``` ### Compiles and hot-reloads for development ``` yarn run serve ``` ### Compiles and minifies for production ``` yarn run build ``` ### Run your tests ``` yarn run test ``` ### Lints and fixes files ``` yarn run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ### 存在问题 #### 航拍地图瓦片偏移 这个暂时没有办法解决 #### Pix4DTileLayer 加载大疆无人机航拍导出的Google地图瓦片 ### 导入组件 ``` import {TianDituData, TiandituWmtsLayer, TLayerControl, WMTSLayer} from "../components"; ``` 路径/pages/LeafletMap.vue 里面用四种组合加载天地图: - 墨卡托投影 - 经纬度投影 - 墨卡托投影-WMTS - 经纬度投影-WMTS