美文网首页
arcgis js 4 加载mapbox style地图

arcgis js 4 加载mapbox style地图

作者: haibalai | 来源:发表于2022-01-28 14:25 被阅读0次

    我看过很多arcgis 加载第三方地图 比如百度 高德 腾讯 天地图之类

    今天我来看看mapbox 地图加载

    经过我测试现在mapbox 只有几类style可以加载

    export enum mapBoxType {

    streets = 'streets-v11',

    light = 'light-v10',

    dark = 'dark-v10',

    satellite = 'satellite-v9',

    outdoors = 'outdoors-v11',

    satelliteStreets = 'satellite-streets-v11'

    }

    `

    我们构建一个MapboxLayer, 我们用WebTileLayer 来实现 type 就是我们上面定义的枚举

     更多参考 https://xiaozhuanlan.com/topic/4951608723

    相关文章

      网友评论

          本文标题:arcgis js 4 加载mapbox style地图

          本文链接:https://www.haomeiwen.com/subject/zaqtkrtx.html