Class: setPaintProperty

setPaintProperty

new mapboxgl.supermap.map.setPaintProperty(map, layerIds, type, paint, source, sourceLayers)

mapboxgl/overlay/mapv/MapExtend.js, line 58

设置图层风格

Name Type Description
map
layerIds
type
paint
source

非必填,默认vector-tiles

sourceLayers

非必填,默认与id对应