🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

3m-object-lines

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

3m-object-lines

latest
npmnpm
Version
1.1.9
Version published
Maintainers
1
Created
Source

3m-object-lines

LINES

  • .type:String LINES -唯一标识
  • .isShow:Boole, //是否显示线路
  • .paths:Arraylng:Number,lat:Number - 路径
  • .materialParameters:Object - 几何图形材质
  • .linewidth: , - 宽度
  • .color: , - 颜色
  • .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'
}

FAQs

Package last updated on 14 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts