{"action":"created","issue":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3148","labels_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3148/labels{/name}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3148/comments","events_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3148/events","html_url":"https://github.com/Leaflet/Leaflet/issues/3148","id":54539273,"number":3148,"title":"You can create duplicate panes. Bug or Feature?","user":{"login":"Jakobud","id":87356,"avatar_url":"https://avatars.githubusercontent.com/u/87356?v=3","gravatar_id":"","url":"https://api.github.com/users/Jakobud","html_url":"https://github.com/Jakobud","followers_url":"https://api.github.com/users/Jakobud/followers","following_url":"https://api.github.com/users/Jakobud/following{/other_user}","gists_url":"https://api.github.com/users/Jakobud/gists{/gist_id}","starred_url":"https://api.github.com/users/Jakobud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jakobud/subscriptions","organizations_url":"https://api.github.com/users/Jakobud/orgs","repos_url":"https://api.github.com/users/Jakobud/repos","events_url":"https://api.github.com/users/Jakobud/events{/privacy}","received_events_url":"https://api.github.com/users/Jakobud/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-16T04:42:32Z","updated_at":"2015-05-11T10:19:10Z","closed_at":"2015-05-11T10:19:10Z","body":"@mourner Just FYI I noticed that you can create duplicate panes:\r\n\r\n```\r\nmap.createPane('test');\r\nmap.createPane('testPane');\r\n```\r\nresults in two identical DOM objects:\r\n```\r\n<div class=\"leaflet-pane leaflet-test-pane\"></div>\r\n<div class=\"leaflet-pane leaflet-test-pane\"></div>\r\n```\r\n\r\nEach one is referenced by their unique name: `map.getPane('test');` and `map.getPane('testPane');`\r\n\r\nThis obviously has to do with how the word \"pane\" is stripped from the generated class name and then appended when you create a pane.\r\n\r\nSo what do you guys think? Is this a bug or a feature? Do you want me to fix this or leave it?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/comments/100853368","html_url":"https://github.com/Leaflet/Leaflet/issues/3148#issuecomment-100853368","issue_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3148","id":100853368,"user":{"login":"mourner","id":25395,"avatar_url":"https://avatars.githubusercontent.com/u/25395?v=3","gravatar_id":"","url":"https://api.github.com/users/mourner","html_url":"https://github.com/mourner","followers_url":"https://api.github.com/users/mourner/followers","following_url":"https://api.github.com/users/mourner/following{/other_user}","gists_url":"https://api.github.com/users/mourner/gists{/gist_id}","starred_url":"https://api.github.com/users/mourner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mourner/subscriptions","organizations_url":"https://api.github.com/users/mourner/orgs","repos_url":"https://api.github.com/users/mourner/repos","events_url":"https://api.github.com/users/mourner/events{/privacy}","received_events_url":"https://api.github.com/users/mourner/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T10:19:10Z","updated_at":"2015-05-11T10:19:10Z","body":"I think it's fine, no need to fix unless anyone has a real trouble with this."}}