0.1.9 • Published 8 months ago

@szgc-graph/mfair-mapbox-jssdk v0.1.9

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

mapboxGl 模飞封装

API

初始化

const mapIns = new CesiumFair({
    option: {
        container: '#map'
    }
});

设置绘图样式

/**
 *
 * @description 设置指定样式层中绘图属性的值
 * @param {string} layerId - 图层ID
 * @param {string} name - 绘图属性名称
 * @param {any} value - 绘图属性值
 * @return map
 *
 * @example
 * map.setPaintProperty('my-layer', 'fill-color', '#faafee');
 *
 */
setPaintProperty(layerId, name, value, option = {})
0.1.9

8 months ago

0.1.8

9 months ago

0.1.7

9 months ago

0.1.6

10 months ago

0.1.5

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago