{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/mobile-sdk/issues/193","repository_url":"https://api.github.com/repos/CartoDB/mobile-sdk","labels_url":"https://api.github.com/repos/CartoDB/mobile-sdk/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/mobile-sdk/issues/193/comments","events_url":"https://api.github.com/repos/CartoDB/mobile-sdk/issues/193/events","html_url":"https://github.com/CartoDB/mobile-sdk/issues/193","id":302648231,"number":193,"title":"Drawing a border around a Text vector","user":{"login":"Shtong","id":1116681,"avatar_url":"https://avatars2.githubusercontent.com/u/1116681?v=4","gravatar_id":"","url":"https://api.github.com/users/Shtong","html_url":"https://github.com/Shtong","followers_url":"https://api.github.com/users/Shtong/followers","following_url":"https://api.github.com/users/Shtong/following{/other_user}","gists_url":"https://api.github.com/users/Shtong/gists{/gist_id}","starred_url":"https://api.github.com/users/Shtong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shtong/subscriptions","organizations_url":"https://api.github.com/users/Shtong/orgs","repos_url":"https://api.github.com/users/Shtong/repos","events_url":"https://api.github.com/users/Shtong/events{/privacy}","received_events_url":"https://api.github.com/users/Shtong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Nikituh","id":8685359,"avatar_url":"https://avatars2.githubusercontent.com/u/8685359?v=4","gravatar_id":"","url":"https://api.github.com/users/Nikituh","html_url":"https://github.com/Nikituh","followers_url":"https://api.github.com/users/Nikituh/followers","following_url":"https://api.github.com/users/Nikituh/following{/other_user}","gists_url":"https://api.github.com/users/Nikituh/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikituh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikituh/subscriptions","organizations_url":"https://api.github.com/users/Nikituh/orgs","repos_url":"https://api.github.com/users/Nikituh/repos","events_url":"https://api.github.com/users/Nikituh/events{/privacy}","received_events_url":"https://api.github.com/users/Nikituh/received_events","type":"User","site_admin":false},"assignees":[{"login":"Nikituh","id":8685359,"avatar_url":"https://avatars2.githubusercontent.com/u/8685359?v=4","gravatar_id":"","url":"https://api.github.com/users/Nikituh","html_url":"https://github.com/Nikituh","followers_url":"https://api.github.com/users/Nikituh/followers","following_url":"https://api.github.com/users/Nikituh/following{/other_user}","gists_url":"https://api.github.com/users/Nikituh/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikituh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikituh/subscriptions","organizations_url":"https://api.github.com/users/Nikituh/orgs","repos_url":"https://api.github.com/users/Nikituh/repos","events_url":"https://api.github.com/users/Nikituh/events{/privacy}","received_events_url":"https://api.github.com/users/Nikituh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-03-06T10:38:53Z","updated_at":"2018-04-18T13:27:20Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nIn an app where I use a custom vector layer on my map, I have to implement a feature where text elements should have a border around them. I already use Text vector elements to draw the text itself, but making the border is a little more difficult !\r\n\r\nThe only way I can think of is:\r\n- create the text vector\r\n- call drawBitmap on the vector\r\n- read the resulting bitmap's width/height\r\n- Somehow convert the width/height and the text position into coordinates I can use to create a vector of MapPos, that I can then use to create a polygon around the text\r\n\r\nIs there a simpler way to do this (in my case it may be a little more complicated since there's rotation involved) ? If not, then it would be nice to have a tool function that returns the projected map coordinates of the text bitmap, so we can draw relatively to it or allow more advanced decision making for the stuff around the text."},"comment":{"url":"https://api.github.com/repos/CartoDB/mobile-sdk/issues/comments/382385823","html_url":"https://github.com/CartoDB/mobile-sdk/issues/193#issuecomment-382385823","issue_url":"https://api.github.com/repos/CartoDB/mobile-sdk/issues/193","id":382385823,"user":{"login":"mtehver","id":2759437,"avatar_url":"https://avatars2.githubusercontent.com/u/2759437?v=4","gravatar_id":"","url":"https://api.github.com/users/mtehver","html_url":"https://github.com/mtehver","followers_url":"https://api.github.com/users/mtehver/followers","following_url":"https://api.github.com/users/mtehver/following{/other_user}","gists_url":"https://api.github.com/users/mtehver/gists{/gist_id}","starred_url":"https://api.github.com/users/mtehver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtehver/subscriptions","organizations_url":"https://api.github.com/users/mtehver/orgs","repos_url":"https://api.github.com/users/mtehver/repos","events_url":"https://api.github.com/users/mtehver/events{/privacy}","received_events_url":"https://api.github.com/users/mtehver/received_events","type":"User","site_admin":false},"created_at":"2018-04-18T13:27:20Z","updated_at":"2018-04-18T13:27:20Z","author_association":"CONTRIBUTOR","body":"@Shtong 4.1.3RC1 includes support for this feature. Feedback is very welcome."}}
{"actor":{"display_login":"mtehver"}}