@tntv/three-map
v0.1.1
Published
3D地图组件
Downloads
1
Readme
基于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);