1.0.3 • Published 2 years ago

@bj-nsc/v-checkpath v1.0.3

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

组件介绍

检测杆塔路径是否正确

安装

npm install @bj-nsc/v-checkpath -S

或者
yarn add @bj-nsc/v-checkpath -S

使用

import CheckPath from "@bj-nsc/v-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.3

2 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago