{"action":"created","issue":{"url":"https://api.github.com/repos/neveldo/jQuery-Mapael/issues/186","labels_url":"https://api.github.com/repos/neveldo/jQuery-Mapael/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/neveldo/jQuery-Mapael/issues/186/comments","events_url":"https://api.github.com/repos/neveldo/jQuery-Mapael/issues/186/events","html_url":"https://github.com/neveldo/jQuery-Mapael/pull/186","id":127132239,"number":186,"title":"Allow fine tuning of the label's position relative to it's calculated position.","user":{"login":"plexus77","id":1281305,"avatar_url":"https://avatars.githubusercontent.com/u/1281305?v=3","gravatar_id":"","url":"https://api.github.com/users/plexus77","html_url":"https://github.com/plexus77","followers_url":"https://api.github.com/users/plexus77/followers","following_url":"https://api.github.com/users/plexus77/following{/other_user}","gists_url":"https://api.github.com/users/plexus77/gists{/gist_id}","starred_url":"https://api.github.com/users/plexus77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plexus77/subscriptions","organizations_url":"https://api.github.com/users/plexus77/orgs","repos_url":"https://api.github.com/users/plexus77/repos","events_url":"https://api.github.com/users/plexus77/events{/privacy}","received_events_url":"https://api.github.com/users/plexus77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-17T23:27:48Z","updated_at":"2016-01-27T10:18:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/neveldo/jQuery-Mapael/pulls/186","html_url":"https://github.com/neveldo/jQuery-Mapael/pull/186","diff_url":"https://github.com/neveldo/jQuery-Mapael/pull/186.diff","patch_url":"https://github.com/neveldo/jQuery-Mapael/pull/186.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/neveldo/jQuery-Mapael/issues/comments/175529884","html_url":"https://github.com/neveldo/jQuery-Mapael/pull/186#issuecomment-175529884","issue_url":"https://api.github.com/repos/neveldo/jQuery-Mapael/issues/186","id":175529884,"user":{"login":"Indigo744","id":7137528,"avatar_url":"https://avatars.githubusercontent.com/u/7137528?v=3","gravatar_id":"","url":"https://api.github.com/users/Indigo744","html_url":"https://github.com/Indigo744","followers_url":"https://api.github.com/users/Indigo744/followers","following_url":"https://api.github.com/users/Indigo744/following{/other_user}","gists_url":"https://api.github.com/users/Indigo744/gists{/gist_id}","starred_url":"https://api.github.com/users/Indigo744/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Indigo744/subscriptions","organizations_url":"https://api.github.com/users/Indigo744/orgs","repos_url":"https://api.github.com/users/Indigo744/repos","events_url":"https://api.github.com/users/Indigo744/events{/privacy}","received_events_url":"https://api.github.com/users/Indigo744/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T10:18:54Z","updated_at":"2016-01-27T10:18:54Z","body":"I agree with @neveldo. dx/dy should be set inside `getTextPosition()` function.\r\n\r\nRegarding your second point, I think the `margin` name is not the best since we are not setting a real margin: we are adding a *shift* (or delta) to the position `(x, y)`. Hence I think `(dx, dy)` fits nicely the description.\r\n"}}