Package Exports
- leaflet-velocity
- leaflet-velocity/dist/leaflet-velocity.css
- leaflet-velocity/dist/leaflet-velocity.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (leaflet-velocity) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
leaflet-velocity 
A plugin for Leaflet (v1.0.3, and v0.7.7) to add visualisation overlay for direction and intensity of arbitrary velocities (e.g. wind, ocean current).
- Uses a modified version of WindJS for core functionality.
- Very similar to wind-js-leaflet, however not restricted to wind.
- Data input format is the same as output by grib2json.
Example use:
LeafletVelocity.init({
map: map, // ref to your leaflet map
layerControl: layerControl, // ref to your leaflet layer control
displayValues: true, // show values on hover
displayOptions: {
displayPosition: 'bottomleft',
displayEmptyString: 'No velocity data'
},
overlayName: 'velocity', // label for overlay control
data: data // see demo/velocity.json
});
Reference
leaflet-velocity
is possible because of things like:
License
MIT License (MIT)