@dijiang/front_mapbox_custom_layer

基于mapbox的自定义图层加载三维tms格式数据

Usage no npm install needed!

<script type="module">
  import dijiangFrontMapboxCustomLayer from 'https://cdn.skypack.dev/@dijiang/front_mapbox_custom_layer';
</script>

README

mabox-custom-layer

基于mapbox的自定义图层加载三维tms格式数据

use

import {CustomTileLayer} from '@dijiang/front_mapbox_custom_layer'

const layer = new CustomTileLayer(param: {id?:string,url: string,bounds: number[]})

map.addLayer(layer)