{"action":"created","issue":{"url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/38","labels_url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/38/comments","events_url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/38/events","html_url":"https://github.com/huei90/snap.svg.zpd/issues/38","id":68552199,"number":38,"title":"Drawing over existing paper not being displaced.","user":{"login":"GAZ082","id":100194,"avatar_url":"https://avatars.githubusercontent.com/u/100194?v=3","gravatar_id":"","url":"https://api.github.com/users/GAZ082","html_url":"https://github.com/GAZ082","followers_url":"https://api.github.com/users/GAZ082/followers","following_url":"https://api.github.com/users/GAZ082/following{/other_user}","gists_url":"https://api.github.com/users/GAZ082/gists{/gist_id}","starred_url":"https://api.github.com/users/GAZ082/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GAZ082/subscriptions","organizations_url":"https://api.github.com/users/GAZ082/orgs","repos_url":"https://api.github.com/users/GAZ082/repos","events_url":"https://api.github.com/users/GAZ082/events{/privacy}","received_events_url":"https://api.github.com/users/GAZ082/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-15T02:20:10Z","updated_at":"2015-04-15T06:19:15Z","closed_at":null,"body":"Hi guys. I created a paper and loaded and external svg. Applied the plugin, works great.\r\n\r\nNow, if i try to draw something on the paper, two things:\r\n\r\n1. does not respect the paper's coordinates.\r\n2. When panning, the new element does not follows the loaded SVG.\r\n\r\nI bet 1 and 2 are related. Perhaps i'm missing something and i'm not implementing correctly the plugin."},"comment":{"url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/comments/93216668","html_url":"https://github.com/huei90/snap.svg.zpd/issues/38#issuecomment-93216668","issue_url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/38","id":93216668,"user":{"login":"tikiatua","id":1379175,"avatar_url":"https://avatars.githubusercontent.com/u/1379175?v=3","gravatar_id":"","url":"https://api.github.com/users/tikiatua","html_url":"https://github.com/tikiatua","followers_url":"https://api.github.com/users/tikiatua/followers","following_url":"https://api.github.com/users/tikiatua/following{/other_user}","gists_url":"https://api.github.com/users/tikiatua/gists{/gist_id}","starred_url":"https://api.github.com/users/tikiatua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tikiatua/subscriptions","organizations_url":"https://api.github.com/users/tikiatua/orgs","repos_url":"https://api.github.com/users/tikiatua/repos","events_url":"https://api.github.com/users/tikiatua/events{/privacy}","received_events_url":"https://api.github.com/users/tikiatua/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T06:19:15Z","updated_at":"2015-04-15T06:19:15Z","body":"Hi @GAZ082,\r\n\r\nthe plugin works by putting all elements in your svg into a separate group (a g-element) and applying all transformations to the elements in this group.\r\n\r\nHence it should work as expected if you add the new elements to the zpd group instead of the svg-element\r\n\r\n![zpd_explanation](https://cloud.githubusercontent.com/assets/1379175/7153178/13c0363e-e348-11e4-8fa6-89b1415e3c5f.png)\r\n"}}