mapbox-gl-split
v1.0.1
Published
mapboxgl split
Downloads
15
Readme
mapbox-gl-js 分屏
使用
引入
const map1 = new mapboxgl.Map({ container: 'container1', style });
const map2 = new mapboxgl.Map({ container: 'container2', style });
new SplitMap('container', {
maps: [map1, map2]
});