1.0.4 • Published 2 years ago

@bj-nsc/checkpath v1.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
2 years ago

组件介绍

检测杆塔路径是否正确

安装

npm install @bj-nsc/checkpath -S

使用

import CheckPath from "@bj-nsc/checkpath";

const data = [
    {
      sort: 1,
      towerName: "P16",
      longitude: longitude,
      latitude: latitude,
    },
    {
      sort: 2,
      towerName: "P17",
      longitude: longitude,
      latitude: latitude,
    }
  ]
//经纬度为数值类型
<CheckPath data={data} />

参数

  • data Array<object>
    • object
      • towerName 杆塔名称
      • longitude 经度
      • latitude 纬度
      • sort 序号
  • level string | number 百度地图初始缩放等级, 值 1-19 之间,默认 8
1.0.4

2 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago