{"action":"created","issue":{"url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/483","labels_url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/483/labels{/name}","comments_url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/483/comments","events_url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/483/events","html_url":"https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/483","id":67568314,"number":483,"title":"Rendering label on retina display - Different behaviour inside and outside of plugin","user":{"login":"antoniocapelo","id":3236388,"avatar_url":"https://avatars.githubusercontent.com/u/3236388?v=3","gravatar_id":"","url":"https://api.github.com/users/antoniocapelo","html_url":"https://github.com/antoniocapelo","followers_url":"https://api.github.com/users/antoniocapelo/followers","following_url":"https://api.github.com/users/antoniocapelo/following{/other_user}","gists_url":"https://api.github.com/users/antoniocapelo/gists{/gist_id}","starred_url":"https://api.github.com/users/antoniocapelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoniocapelo/subscriptions","organizations_url":"https://api.github.com/users/antoniocapelo/orgs","repos_url":"https://api.github.com/users/antoniocapelo/repos","events_url":"https://api.github.com/users/antoniocapelo/events{/privacy}","received_events_url":"https://api.github.com/users/antoniocapelo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-10T10:56:08Z","updated_at":"2015-04-13T13:54:13Z","closed_at":null,"body":"Hi, \r\n\r\nFirst of all, thanks for the useful plugin!\r\n\r\nI'm trying to display some custom markers using the base64 method you described on the Marker section. However, the size of the text rendered on the canvas element isn't the expected. I' both passing the created canvas to the addMarker method:\r\n\r\n    map.addMarker({\r\n                    'position': position,\r\n                    'title': canvas.toDataURL(),\r\n                    'icon': 'www/images/logo_map.png',\r\n                    ...\r\n\r\nAnd I'm appending that same canvas to the document body for comparison:\r\n\r\n                        document.body.appendChild(canvas);\r\nHowever the one inside the plugin comes with the doubled dimensions (even if I try to scale it down, or for its css attributes to half of what I want)\r\n\r\n \r\n![screen shot 2015-04-10 at 11 30 13](https://cloud.githubusercontent.com/assets/3236388/7086392/78ec503e-df78-11e4-8ffc-53d2cefc0a49.png)\r\n\r\nDo you have any clue / insight of what may be happening?\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10849666-rendering-label-on-retina-display-different-behaviour-inside-and-outside-of-plugin?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/comments/92362396","html_url":"https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/483#issuecomment-92362396","issue_url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/483","id":92362396,"user":{"login":"antoniocapelo","id":3236388,"avatar_url":"https://avatars.githubusercontent.com/u/3236388?v=3","gravatar_id":"","url":"https://api.github.com/users/antoniocapelo","html_url":"https://github.com/antoniocapelo","followers_url":"https://api.github.com/users/antoniocapelo/followers","following_url":"https://api.github.com/users/antoniocapelo/following{/other_user}","gists_url":"https://api.github.com/users/antoniocapelo/gists{/gist_id}","starred_url":"https://api.github.com/users/antoniocapelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoniocapelo/subscriptions","organizations_url":"https://api.github.com/users/antoniocapelo/orgs","repos_url":"https://api.github.com/users/antoniocapelo/repos","events_url":"https://api.github.com/users/antoniocapelo/events{/privacy}","received_events_url":"https://api.github.com/users/antoniocapelo/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T13:54:13Z","updated_at":"2015-04-13T13:54:13Z","body":"Ping :)"}}