{"action":"created","issue":{"url":"https://api.github.com/repos/osm-ua/osm-tasking-manager2/issues/3","labels_url":"https://api.github.com/repos/osm-ua/osm-tasking-manager2/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/osm-ua/osm-tasking-manager2/issues/3/comments","events_url":"https://api.github.com/repos/osm-ua/osm-tasking-manager2/issues/3/events","html_url":"https://github.com/osm-ua/osm-tasking-manager2/issues/3","id":90154062,"number":3,"title":"Мінімапа з Україною замість всього світу","user":{"login":"Andygol","id":369696,"avatar_url":"https://avatars.githubusercontent.com/u/369696?v=3","gravatar_id":"","url":"https://api.github.com/users/Andygol","html_url":"https://github.com/Andygol","followers_url":"https://api.github.com/users/Andygol/followers","following_url":"https://api.github.com/users/Andygol/following{/other_user}","gists_url":"https://api.github.com/users/Andygol/gists{/gist_id}","starred_url":"https://api.github.com/users/Andygol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andygol/subscriptions","organizations_url":"https://api.github.com/users/Andygol/orgs","repos_url":"https://api.github.com/users/Andygol/repos","events_url":"https://api.github.com/users/Andygol/events{/privacy}","received_events_url":"https://api.github.com/users/Andygol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-22T16:59:56Z","updated_at":"2015-06-23T07:54:22Z","closed_at":null,"body":"Заміна мінімапи всього світу на мінімапу України:\r\n\r\n* [ ] треба поправити top i left тут: https://github.com/osm-ua/osm-tasking-manager2/blob/7e2edb3b1e8165a4b9354e50bd541b8ce32b7a58/osmtm/templates/project.mako#L33\r\n* [ ] world_map.png замінити на свою картинку тут: https://github.com/osm-ua/osm-tasking-manager2/blob/7e2edb3b1e8165a4b9354e50bd541b8ce32b7a58/osmtm/static/css/main.css#L5513"},"comment":{"url":"https://api.github.com/repos/osm-ua/osm-tasking-manager2/issues/comments/114395678","html_url":"https://github.com/osm-ua/osm-tasking-manager2/issues/3#issuecomment-114395678","issue_url":"https://api.github.com/repos/osm-ua/osm-tasking-manager2/issues/3","id":114395678,"user":{"login":"pavlo-dudka","id":3939417,"avatar_url":"https://avatars.githubusercontent.com/u/3939417?v=3","gravatar_id":"","url":"https://api.github.com/users/pavlo-dudka","html_url":"https://github.com/pavlo-dudka","followers_url":"https://api.github.com/users/pavlo-dudka/followers","following_url":"https://api.github.com/users/pavlo-dudka/following{/other_user}","gists_url":"https://api.github.com/users/pavlo-dudka/gists{/gist_id}","starred_url":"https://api.github.com/users/pavlo-dudka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavlo-dudka/subscriptions","organizations_url":"https://api.github.com/users/pavlo-dudka/orgs","repos_url":"https://api.github.com/users/pavlo-dudka/repos","events_url":"https://api.github.com/users/pavlo-dudka/events{/privacy}","received_events_url":"https://api.github.com/users/pavlo-dudka/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T07:54:22Z","updated_at":"2015-06-23T07:54:22Z","body":"Спробуй формули для top і left замінити на такі:\r\nleft = (centroid.x - coordMin.x) * imageWidth / (coordMax.x - coordMin.x) - 1\r\ntop = (-centroid.y + coordMax.y) * imageHeight / (coordMax.y - coordMin.y) - 1\r\nде\r\ncoordMin, coordMax -- координати кутів прямокутника України\r\nimageWidth, imageHeight - ширина і висота картинки в пікселях"}}