0.1.1 • Published 6 years ago
@tntv/three-map
Licence
ISC
Version
0.1.1
Deps
11
Size
1.6 MB
Vulns
1
Weekly
0
基于ThreeJs封装的地图组件
安装
npm install @tntv/three-map --save
如何使用
import ThreeMap from "@tntv/three-map";
// 初始化地图
const dom = document.getElementById('myMap');
const map = new ThreeMap({}, geojson);
map.init(dom);