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

Doesn't paint lines for the first and last points properly. #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jktu2870
Copy link

@jktu2870 jktu2870 commented Mar 2, 2018

  • If the first few points have the same "fnContext" result (0 for example), they will be painted in the color of the first point which has a different result (1 for example).
  • The mainline ends with the color of a penultimate point (not last).

@jktu2870 jktu2870 closed this Mar 3, 2018
@hgoebl
Copy link
Owner

hgoebl commented Mar 4, 2018

Hi @jktu2870
can you tell me please why you already closed this PR?
I had a short view of the code and it looks good to me, though I haven't tested it.

@jktu2870
Copy link
Author

jktu2870 commented Mar 5, 2018

Hi @hgoebl
It's nice to know you estimated my PR as good. I closed PR because I have doubt about performance since "fnContext" now cause twice per iteration. Also, I didn't test this solution for every case MultiOptionsPolyline can be used for, only for examples on the demo page and for my specific task.
I'll reopen PR, if you have time to test it then it would be great.

@jktu2870 jktu2870 reopened this Mar 5, 2018
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

Successfully merging this pull request may close these issues.

2 participants