1.1.0-0 • Published 2 years ago

leaflet-radar v1.1.0-0

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

leaflet-radar

基于leaflet封装的雷达扫描图层

Installing

Via NPM:

 npm install --save leaflet-radar

Requirements

  • Leaflet >= 1

Using the plugin

Importing

image

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