{"action":"created","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/3109","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/3109/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/3109/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/3109/events","html_url":"https://github.com/openlayers/ol3/pull/3109","id":53880218,"number":3109,"title":"Snap feature","user":{"login":"fperucic","id":10003528,"avatar_url":"https://avatars.githubusercontent.com/u/10003528?v=3","gravatar_id":"","url":"https://api.github.com/users/fperucic","html_url":"https://github.com/fperucic","followers_url":"https://api.github.com/users/fperucic/followers","following_url":"https://api.github.com/users/fperucic/following{/other_user}","gists_url":"https://api.github.com/users/fperucic/gists{/gist_id}","starred_url":"https://api.github.com/users/fperucic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fperucic/subscriptions","organizations_url":"https://api.github.com/users/fperucic/orgs","repos_url":"https://api.github.com/users/fperucic/repos","events_url":"https://api.github.com/users/fperucic/events{/privacy}","received_events_url":"https://api.github.com/users/fperucic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":52,"created_at":"2015-01-09T15:39:58Z","updated_at":"2015-03-27T12:33:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openlayers/ol3/pulls/3109","html_url":"https://github.com/openlayers/ol3/pull/3109","diff_url":"https://github.com/openlayers/ol3/pull/3109.diff","patch_url":"https://github.com/openlayers/ol3/pull/3109.patch"},"body":"This is my implementation of a snap control discussed in #1164 \r\n\r\nIt uses simmilar snap implementation as ol.interaction.modify so you need to be careful when modifying the original geometry. Otherwise problems my occur as in #3093 where the user is not paying attention to rebuild the snap index of the modify interaction upon dragging the original geometry.\r\n\r\nHere is the [demo](http://server2.prometiprostor.hr/fperucic/ol-hosted/snap-feature/examples/snap.html?q=snap)"},"comment":{"url":"https://api.github.com/repos/openlayers/ol3/issues/comments/86927860","html_url":"https://github.com/openlayers/ol3/pull/3109#issuecomment-86927860","issue_url":"https://api.github.com/repos/openlayers/ol3/issues/3109","id":86927860,"user":{"login":"adube","id":432436,"avatar_url":"https://avatars.githubusercontent.com/u/432436?v=3","gravatar_id":"","url":"https://api.github.com/users/adube","html_url":"https://github.com/adube","followers_url":"https://api.github.com/users/adube/followers","following_url":"https://api.github.com/users/adube/following{/other_user}","gists_url":"https://api.github.com/users/adube/gists{/gist_id}","starred_url":"https://api.github.com/users/adube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adube/subscriptions","organizations_url":"https://api.github.com/users/adube/orgs","repos_url":"https://api.github.com/users/adube/repos","events_url":"https://api.github.com/users/adube/events{/privacy}","received_events_url":"https://api.github.com/users/adube/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T12:33:17Z","updated_at":"2015-03-27T12:33:17Z","body":"I'm on it."}}