Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotate circle and create half/quarter of the circle #90

Open
sharkee89 opened this issue Nov 24, 2020 · 1 comment
Open

Rotate circle and create half/quarter of the circle #90

sharkee89 opened this issue Nov 24, 2020 · 1 comment

Comments

@sharkee89
Copy link

Hi I am using mapbox-gl-circle library to create circle on mapbox-gl map in my Angular application providing center of the circle and radius in metres.

Two simple questions:

  1. Can I create half or quarter the circle (something looking like pizza slice) with center coordinates of the circle. So I need exactly the same functionality like creating circle with center coordinates just I don't want full circle, rather than this it would be awesome if I can create half or quarter of the circle?
  2. Can I somehow rotate circle after it is created?

Best regards.

@gleite
Copy link

gleite commented Dec 4, 2020

Hi there @sharkee89.

Right now this library only supports creating the full circle. You're more than welcome to fork the repo and create that feature based on the circle one that we have and open a PR for it. We'll review it as quick as possible.

Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants