{"action":"created","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/3708","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/3708/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/3708/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/3708/events","html_url":"https://github.com/openlayers/ol3/issues/3708","id":78150987,"number":3708,"title":"Can't delete end vertex of linestring","user":{"login":"probins","id":283514,"avatar_url":"https://avatars.githubusercontent.com/u/283514?v=3","gravatar_id":"","url":"https://api.github.com/users/probins","html_url":"https://github.com/probins","followers_url":"https://api.github.com/users/probins/followers","following_url":"https://api.github.com/users/probins/following{/other_user}","gists_url":"https://api.github.com/users/probins/gists{/gist_id}","starred_url":"https://api.github.com/users/probins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/probins/subscriptions","organizations_url":"https://api.github.com/users/probins/orgs","repos_url":"https://api.github.com/users/probins/repos","events_url":"https://api.github.com/users/probins/events{/privacy}","received_events_url":"https://api.github.com/users/probins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-19T16:09:50Z","updated_at":"2016-02-02T10:45:29Z","closed_at":null,"body":"There are several outstanding issues for interaction.Modify, but afaics this one hasn't been raised. Looks like ol.interaction.Modify.prototype.removeVertex_ isn't allowing for this possibility, as one of left/right will be undefined in this case. So you can only delete a vertex within the linestring, not one of the end vertices."},"comment":{"url":"https://api.github.com/repos/openlayers/ol3/issues/comments/178503719","html_url":"https://github.com/openlayers/ol3/issues/3708#issuecomment-178503719","issue_url":"https://api.github.com/repos/openlayers/ol3/issues/3708","id":178503719,"user":{"login":"rmichaelis","id":5594996,"avatar_url":"https://avatars.githubusercontent.com/u/5594996?v=3","gravatar_id":"","url":"https://api.github.com/users/rmichaelis","html_url":"https://github.com/rmichaelis","followers_url":"https://api.github.com/users/rmichaelis/followers","following_url":"https://api.github.com/users/rmichaelis/following{/other_user}","gists_url":"https://api.github.com/users/rmichaelis/gists{/gist_id}","starred_url":"https://api.github.com/users/rmichaelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmichaelis/subscriptions","organizations_url":"https://api.github.com/users/rmichaelis/orgs","repos_url":"https://api.github.com/users/rmichaelis/repos","events_url":"https://api.github.com/users/rmichaelis/events{/privacy}","received_events_url":"https://api.github.com/users/rmichaelis/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T10:45:29Z","updated_at":"2016-02-02T10:45:29Z","body":"Furthermore, in the private function `ol.interaction.Modify.prototype.removeVertex_`, the function contract is not respected [because the return value is always true](https://github.com/openlayers/ol3/blob/master/src/ol/interaction/modifyinteraction.js#L974)."}}