yuairflowing

0.0.1 • Public • Published

等值线组件0.01版本

使用方式

npm install isoline
import Wind from 'isoline'
<isoline :current="配置"></isoline> 配置看下面使用配置中的(2)

使用配置

(1)在vuex中配置 state: { // 当前时间 currentDate: null, // 请求的时间 requestDate: null, // hpa气压 hpaqiya: [], // 模式对比 moshilist: [], // 要素对比 yaoshulist: [] } (2)组件中要传入参数 { "name": "500hPa位势高度", 名字 "title": "500hPa位势高度",提示 "id": "FORE-500GPH", id "type": "isoline", 类型 "hpa": 50000, 气压 "url": "/contour/getContour?fileName=/meteo/#pattern/#datatime/GPH/#pattern_#datatime_GPH_#time_50000_4326&interval=4&start=100&end=600", // 数据地址 必填 "icon": "left_dengzhixian", "Opacity": 0.6, "showHide": true, "radio": 2, "zIndex": 20, "layerConfig": { "strokeColor": "#000000ae", "strokeWidth": 2, "specialStrokeColor": "#000000ae", "specialStrokeWidth": 3, "textFont": "bold 12px Arial" } },

Readme

Keywords

Package Sidebar

Install

npm i yuairflowing

Weekly Downloads

0

Version

0.0.1

License

ISC

Unpacked Size

25.9 MB

Total Files

9

Last publish

Collaborators

  • yu1993