# 3m-object-lines

Latest version **1.1.9** (published 2019-11-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install 3m-object-lines
pnpm add 3m-object-lines
yarn add 3m-object-lines
bun add 3m-object-lines
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.9 |
| Published | 2019-11-14 |
| First published | 2019-11-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Unpacked size | 797.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | wangzd |
| Maintainers | dengbupapapa |

## Links

- npm: https://www.npmjs.com/package/3m-object-lines
- npm.io page: https://npm.io/package/3m-object-lines

## Dependencies (12)

- [three](https://npm.io/package/three.md) ^0.109.0
- [mathjs](https://npm.io/package/mathjs.md) ^6.2.0
- [express](https://npm.io/package/express.md) ^4.17.1
- [assign-deep](https://npm.io/package/assign-deep.md) ^1.0.1
- [body-parser](https://npm.io/package/body-parser.md) ^1.19.0
- [string-random](https://npm.io/package/string-random.md) ^0.1.3
- [three-unified](https://npm.io/package/three-unified.md) ^1.0.3
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.6.0
- [babel-polyfill](https://npm.io/package/babel-polyfill.md) ^6.26.0
- [three-obj-loader](https://npm.io/package/three-obj-loader.md) ^1.1.3
- [babel-preset-es2015-rollup](https://npm.io/package/babel-preset-es2015-rollup.md) ^3.0.0
- [3m-plugin-request-animation-frame](https://npm.io/package/3m-plugin-request-animation-frame.md) ^1.0.2

## Recent versions

- 1.1.9 (latest) — 2019-11-14

## README

# 3m-object-lines


LINES

- .type:*String* `LINES` -唯一标识 
- .isShow:*Boole*, //是否显示线路
- .paths:*Array<lng:Number,lat:Number>* - 路径
- .materialParameters:*Object* - 几何图形材质
- .linewidth: <float>, - 宽度
- .color: <String>, - 颜色
- .flow:*Object* - 流光配置


```
{
    paths:[
        [106.527977,29.614869],
        [106.511498,29.622405],
        [106.502914,29.608079],
        [106.541538,29.601213],
        [106.543083,29.621957]
    ],
    materialParameters:{
        color: 0xffaa00,
        linewidth: 5,
    },
    flow: {
        isOpen: true, //是否开启
        color: 0x7FFF00, //颜色
        segFlag: false, //是否分段
        speed: 0.02, //流光速度
        linewidth: 30, //流光宽度
        segFlagNum: //流光分段
    },
    isShow: true, //是否显示线路
    type:'LINES'
}
```

---
_Source: https://npm.io/package/3m-object-lines · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
