This repository was archived by the owner on Sep 17, 2021. It is now read-only.
This repository was archived by the owner on Sep 17, 2021. It is now read-only.
Support antenna sectors #178
Open
Description
This should probably be a different data format than nodes or links.
- center latlong
- radius in meters (I think)
- start bearing and end bearing, in degrees
Two libraries:
- https://github.com/kluizeberg/Leaflet.Circle-sector, demo: https://kluizeberg.github.io/Leaflet.Circle-sector/demo.html
- https://github.com/jjwtay/leaflet.sector, demo: https://jjwtay.github.io/leaflet.sector/
The second one was written more recently.
Neither seems to support gradients in the fill, though. However, there might be a way to use SVG mode to pull it off: https://stackoverflow.com/questions/28874635/gradient-fill-for-circle-in-leaflet
Metadata
Metadata
Assignees
Labels
No labels
Activity