{"action":"created","issue":{"url":"https://api.github.com/repos/humangeo/leaflet-dvf/issues/51","labels_url":"https://api.github.com/repos/humangeo/leaflet-dvf/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/humangeo/leaflet-dvf/issues/51/comments","events_url":"https://api.github.com/repos/humangeo/leaflet-dvf/issues/51/events","html_url":"https://github.com/humangeo/leaflet-dvf/issues/51","id":45681285,"number":51,"title":"DataLayer.reloadData() connects my end points","user":{"login":"jack-r-abbit","id":4740329,"avatar_url":"https://avatars.githubusercontent.com/u/4740329?v=3","gravatar_id":"","url":"https://api.github.com/users/jack-r-abbit","html_url":"https://github.com/jack-r-abbit","followers_url":"https://api.github.com/users/jack-r-abbit/followers","following_url":"https://api.github.com/users/jack-r-abbit/following{/other_user}","gists_url":"https://api.github.com/users/jack-r-abbit/gists{/gist_id}","starred_url":"https://api.github.com/users/jack-r-abbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jack-r-abbit/subscriptions","organizations_url":"https://api.github.com/users/jack-r-abbit/orgs","repos_url":"https://api.github.com/users/jack-r-abbit/repos","events_url":"https://api.github.com/users/jack-r-abbit/events{/privacy}","received_events_url":"https://api.github.com/users/jack-r-abbit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-10-13T20:12:56Z","updated_at":"2015-02-11T22:51:24Z","closed_at":"2015-01-06T20:15:03Z","body":"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.\r\n\r\nI've whipped up a quick jsFiddle to show what I mean. http://jsfiddle.net/wzfp1mLh/ Click the \"DataLayer.reloadData()\" text above the map.\r\n\r\nI 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."},"comment":{"url":"https://api.github.com/repos/humangeo/leaflet-dvf/issues/comments/73982443","html_url":"https://github.com/humangeo/leaflet-dvf/issues/51#issuecomment-73982443","issue_url":"https://api.github.com/repos/humangeo/leaflet-dvf/issues/51","id":73982443,"user":{"login":"jack-r-abbit","id":4740329,"avatar_url":"https://avatars.githubusercontent.com/u/4740329?v=3","gravatar_id":"","url":"https://api.github.com/users/jack-r-abbit","html_url":"https://github.com/jack-r-abbit","followers_url":"https://api.github.com/users/jack-r-abbit/followers","following_url":"https://api.github.com/users/jack-r-abbit/following{/other_user}","gists_url":"https://api.github.com/users/jack-r-abbit/gists{/gist_id}","starred_url":"https://api.github.com/users/jack-r-abbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jack-r-abbit/subscriptions","organizations_url":"https://api.github.com/users/jack-r-abbit/orgs","repos_url":"https://api.github.com/users/jack-r-abbit/repos","events_url":"https://api.github.com/users/jack-r-abbit/events{/privacy}","received_events_url":"https://api.github.com/users/jack-r-abbit/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T22:51:24Z","updated_at":"2015-02-11T22:51:24Z","body":"I've only just gotten back to working on this again. I can confirm the problem is gone. Thanks."}}