# @tntv/three-map

> 3D地图组件

Latest version **0.1.1** (published 2020-05-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install @tntv/three-map
pnpm add @tntv/three-map
yarn add @tntv/three-map
bun add @tntv/three-map
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2020-05-20 |
| First published | 2020-05-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 11 |
| Unpacked size | 1.6 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | bruceliu68, mizy, td-tnt, xiaofei.wang, zhouzefei |
| Keywords | tntv, @tntv/three-map, three-map, @tntv |

## Links

- npm: https://www.npmjs.com/package/@tntv/three-map
- npm.io page: https://npm.io/package/@tntv/three-map

## Dependencies (11)

- [docz](https://npm.io/package/docz.md) ^2.3.1
- [less](https://npm.io/package/less.md) ^3.11.1
- [react](https://npm.io/package/react.md) ^16.13.1
- [three](https://npm.io/package/three.md) ^0.116.1
- [d3-geo](https://npm.io/package/d3-geo.md) ^1.12.0
- [react-dom](https://npm.io/package/react-dom.md) ^16.13.1
- [file-saver](https://npm.io/package/file-saver.md) ^2.0.2
- [@tntd/utils](https://npm.io/package/@tntd/utils.md) ^0.1.4
- [geojson-decoder](https://npm.io/package/geojson-decoder.md) ^1.0.1
- [lodash.throttle](https://npm.io/package/lodash.throttle.md) ^4.1.1
- [gatsby-plugin-less](https://npm.io/package/gatsby-plugin-less.md) ^3.1.3

## Recent versions

- 0.1.1 (latest) — 2020-05-20
- 0.1.0 — 2020-05-19
- 0.0.9 — 2020-05-19
- 0.0.8 — 2020-05-19
- 0.0.7 — 2020-05-19
- 0.0.6 — 2020-05-17
- 0.0.5 — 2020-05-17
- 0.0.4 — 2020-05-17
- 0.0.3 — 2020-05-17
- 0.0.2 — 2020-05-15
- 0.0.1 — 2020-05-14

## README

# 基于ThreeJs封装的地图组件

# 安装
```bash
npm install @tntv/three-map --save
```

# 如何使用
```jsx
import ThreeMap from "@tntv/three-map";

// 初始化地图
const dom = document.getElementById('myMap');
const map = new ThreeMap({}, geojson);
map.init(dom);

```

---
_Source: https://npm.io/package/@tntv/three-map · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
