Skip to content
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
Open
@colindean

Description

@colindean

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:

  1. https://github.com/kluizeberg/Leaflet.Circle-sector, demo: https://kluizeberg.github.io/Leaflet.Circle-sector/demo.html
  2. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions