{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2672","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2672/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2672/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2672/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/2672","id":158545173,"number":2672,"title":"Ability to set up Layer's \"z-index\" level - discussion","user":{"login":"emakarov","id":395963,"avatar_url":"https://avatars.githubusercontent.com/u/395963?v=3","gravatar_id":"","url":"https://api.github.com/users/emakarov","html_url":"https://github.com/emakarov","followers_url":"https://api.github.com/users/emakarov/followers","following_url":"https://api.github.com/users/emakarov/following{/other_user}","gists_url":"https://api.github.com/users/emakarov/gists{/gist_id}","starred_url":"https://api.github.com/users/emakarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emakarov/subscriptions","organizations_url":"https://api.github.com/users/emakarov/orgs","repos_url":"https://api.github.com/users/emakarov/repos","events_url":"https://api.github.com/users/emakarov/events{/privacy}","received_events_url":"https://api.github.com/users/emakarov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-05T09:01:14Z","updated_at":"2016-06-05T20:03:59Z","closed_at":"2016-06-05T20:03:59Z","body":"At the moment, accordingly to documentation, layers can be added only \"before\" or \"above\" some other existing layer. But, there're some use cases when such ability is not enough.\r\nFor example, we have an array of asynchronously-loaded objects which we're placing on the map as individual Layers (for example, Circles), and, in addition, some Cluster Layer of those objects, or some other GeoJSON layer that's loaded independently but should be above or under all of these Circles.\r\nSo, it seems good to have some form of \"z-index\" for Layers so we can precisely control which level is under or above some another Layer."}}
{"actor":{"display_login":"jfirebaugh"}}