{"action":"opened","issue":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/4403","repository_url":"https://api.github.com/repos/Leaflet/Leaflet","labels_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/4403/labels{/name}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/4403/comments","events_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/4403/events","html_url":"https://github.com/Leaflet/Leaflet/issues/4403","id":146786584,"number":4403,"title":"Question about SVG in Leaflet 1.0.0","user":{"login":"ismail44","id":1482959,"avatar_url":"https://avatars.githubusercontent.com/u/1482959?v=3","gravatar_id":"","url":"https://api.github.com/users/ismail44","html_url":"https://github.com/ismail44","followers_url":"https://api.github.com/users/ismail44/followers","following_url":"https://api.github.com/users/ismail44/following{/other_user}","gists_url":"https://api.github.com/users/ismail44/gists{/gist_id}","starred_url":"https://api.github.com/users/ismail44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismail44/subscriptions","organizations_url":"https://api.github.com/users/ismail44/orgs","repos_url":"https://api.github.com/users/ismail44/repos","events_url":"https://api.github.com/users/ismail44/events{/privacy}","received_events_url":"https://api.github.com/users/ismail44/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-08T01:29:36Z","updated_at":"2016-04-08T01:29:36Z","closed_at":null,"body":"I am working on an application that allows users to add N number of custom layers. These layers can be anything from KML, WMS, WFS, SHP, etc. Sometimes, these layers are also specified in GeoJSON format (i.e. SHP or just plane GeoJSON). When adding these layers, we allow them to \"sort\" them by to be \"above/below\", basically modifying the z-index.\r\n\r\nMy question is more of a design decision question. It looks like all the GeoJSON being ingested is being inserted into a single G element inside of the root SVG, regardless of how many different GeoJSON \"data sets\" being added. \r\n\r\nCould all the elements being added be grouped together into a single G (group)? So, basically if I'm adding 3 different GeoJSON datasets we would have 3 separate G elements (groups)? Does this question make sense? "}}