npm

adjust-cesium-img-layer

1.0.5 • Public • Published

Cesium 自适应加载影像图层

自适应网络状况加载影像 (顺序: 谷歌 -> 必应 -> 高德 -> null)

how to use:

import AdjustCesiumImgLayer from 'adjust-cesium-img-layer';

async () => {
	const layer = await new AdjustCesiumImgLayer(Cesium).init();
	if(layer) {
		// ...
		// viewer.imageryLayers.addImageryProvider(layer);

	}
}

Readme

Keywords

Package Sidebar

Install

npm i adjust-cesium-img-layer

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

5.76 kB

Total Files

3

Last publish

Collaborators

  • airlook