{"action":"closed","issue":{"url":"https://api.github.com/repos/Turfjs/turf/issues/1365","repository_url":"https://api.github.com/repos/Turfjs/turf","labels_url":"https://api.github.com/repos/Turfjs/turf/issues/1365/labels{/name}","comments_url":"https://api.github.com/repos/Turfjs/turf/issues/1365/comments","events_url":"https://api.github.com/repos/Turfjs/turf/issues/1365/events","html_url":"https://github.com/Turfjs/turf/issues/1365","id":316568088,"number":1365,"title":"Feature Request: Move all polygon points based on new center","user":{"login":"jfuehner","id":1843941,"avatar_url":"https://avatars1.githubusercontent.com/u/1843941?v=4","gravatar_id":"","url":"https://api.github.com/users/jfuehner","html_url":"https://github.com/jfuehner","followers_url":"https://api.github.com/users/jfuehner/followers","following_url":"https://api.github.com/users/jfuehner/following{/other_user}","gists_url":"https://api.github.com/users/jfuehner/gists{/gist_id}","starred_url":"https://api.github.com/users/jfuehner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfuehner/subscriptions","organizations_url":"https://api.github.com/users/jfuehner/orgs","repos_url":"https://api.github.com/users/jfuehner/repos","events_url":"https://api.github.com/users/jfuehner/events{/privacy}","received_events_url":"https://api.github.com/users/jfuehner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-22T10:41:24Z","updated_at":"2018-05-29T14:03:38Z","closed_at":"2018-05-29T14:03:38Z","author_association":"NONE","body":"I’m not seeing a way to do this based on the docs so I believe it would be a new feature.\r\n\r\nWith that said, I’m looking for a way to move all polygon, line, extent, circle, etc points from one location to another based on a new center point.\r\n\r\nFor example, let’s say I draw a geometry in one location and calculated the center for that geometry. \r\n\r\nProviding my end-users with the ability to change the center lat/lon they would like to move it somewhere else.\r\n\r\nBased on the newly provided center lat/lon I need to move all associated shape points to their respective new location based on the new center.\r\n\r\nThe transformTranslate plugin seems close to what I’m trying to accomplish?\r\n\r\nAs always any help would be great!"}}
{"actor":{"display_login":"rowanwins"}}