{"action":"opened","issue":{"url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/166","repository_url":"https://api.github.com/repos/DotSpatial/DotSpatial","labels_url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/166/comments","events_url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/166/events","html_url":"https://github.com/DotSpatial/DotSpatial/issues/166","id":153407141,"number":166,"title":"Print layout crashes when legend is added first.","user":{"login":"mogikanin","id":840681,"avatar_url":"https://avatars.githubusercontent.com/u/840681?v=3","gravatar_id":"","url":"https://api.github.com/users/mogikanin","html_url":"https://github.com/mogikanin","followers_url":"https://api.github.com/users/mogikanin/followers","following_url":"https://api.github.com/users/mogikanin/following{/other_user}","gists_url":"https://api.github.com/users/mogikanin/gists{/gist_id}","starred_url":"https://api.github.com/users/mogikanin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogikanin/subscriptions","organizations_url":"https://api.github.com/users/mogikanin/orgs","repos_url":"https://api.github.com/users/mogikanin/repos","events_url":"https://api.github.com/users/mogikanin/events{/privacy}","received_events_url":"https://api.github.com/users/mogikanin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DotSpatial/DotSpatial/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/DotSpatial/DotSpatial/labels/CodePlex","name":"CodePlex","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-06T08:50:04Z","updated_at":"2016-05-06T08:50:04Z","closed_at":null,"body":"**This issue was imported from [CodePlex](http://dotspatial.codeplex.com/workitem/172)**\r\n\r\n**[Shade1974](http://www.codeplex.com/site/users/view/Shade1974)** wrote 2010-11-25 at 06:41\r\nThe print layout crashes if you add the legend first. Since the map is hard coded to the applications map, I don't see why we care whether the legend or map is added first. It should not crash or show blank if the map is not added. It should reflect aspects\r\n of the legend from the project regardless."}}