-
Notifications
You must be signed in to change notification settings - Fork 153
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
DataLayer.reloadData() connects my end points #51
Comments
Thanks for pointing this out. I'll take a look and see what's going on. Should hopefully have an answer by tomorrow. |
I think I figured out the problem. I'll push a fix up soon. |
This should be fixed. Let me know if it's still a problem. |
I've only just gotten back to working on this again. I can confirm the problem is gone. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a data set of points drawn using a FlowLine (extended from DataLayer). It draws just fine. When I call the reloadData() function it redraws all the data but it also connects my end points.
I've whipped up a quick jsFiddle to show what I mean. http://jsfiddle.net/wzfp1mLh/ Click the "DataLayer.reloadData()" text above the map.
I should note: I am not actually that interested in calling reloadData() directly. Originally I was using the DataLayer.setDisplayOption() function to alter the opacity of the layer, which in turn calls reloadData(). When the extra line segment appeared, I took steps to isolate the cause.
The text was updated successfully, but these errors were encountered: