leaflet-radar
v1.1.0-0
Published
a leaflet plugin
Downloads
511
Readme
leaflet-radar
基于leaflet封装的雷达扫描图层
Installing
Via NPM:
npm install --save leaflet-radar
Requirements
- Leaflet >= 1
Using the plugin
Importing
![image] (https://github.com/cygis2011/leaflet-radar/blob/main/radar.gif)
Using with ES6 imports
import Radar from 'leaflet-radar';
// Usethe constructor...
let radar = new Radar({
radius:100, //半径
angle:60,
direction:65,
location:"28.210073 112.882625"
}, options);
radar.addTo(map);
License
This project is under the ISC LICENSE