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

Bearing Measure allows more than 2 points #1472

Closed
MV88 opened this issue Feb 16, 2017 · 0 comments
Closed

Bearing Measure allows more than 2 points #1472

MV88 opened this issue Feb 16, 2017 · 0 comments

Comments

@MV88
Copy link
Contributor

MV88 commented Feb 16, 2017

To reproduce:

  • open measure tool and select measure bearing
  • click quickly drawing multiple points
    image

The problem is on both leaflet and ol3 (on ol3 a result is returned tho)
We should limit the number of point for the bearing to 2.

@MV88 MV88 changed the title Bearing Measure allow more than 2 points Bearing Measure allows more than 2 points Feb 16, 2017
@ghost ghost added the pending review label Mar 10, 2017
@ghost ghost assigned offtherailz Mar 13, 2017
@ghost ghost removed the pending review label Mar 13, 2017
offtherailz pushed a commit that referenced this issue Mar 13, 2017
…#1536)

* handled multiple markers/points when bearing is activated
* improved quality of code
* removed useless code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants