{"action":"created","issue":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/4814","repository_url":"https://api.github.com/repos/Leaflet/Leaflet","labels_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/4814/labels{/name}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/4814/comments","events_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/4814/events","html_url":"https://github.com/Leaflet/Leaflet/issues/4814","id":170829105,"number":4814,"title":"Control.Layer different index between Rc2 and Rc3","user":{"login":"ClaudioCas","id":4325427,"avatar_url":"https://avatars.githubusercontent.com/u/4325427?v=3","gravatar_id":"","url":"https://api.github.com/users/ClaudioCas","html_url":"https://github.com/ClaudioCas","followers_url":"https://api.github.com/users/ClaudioCas/followers","following_url":"https://api.github.com/users/ClaudioCas/following{/other_user}","gists_url":"https://api.github.com/users/ClaudioCas/gists{/gist_id}","starred_url":"https://api.github.com/users/ClaudioCas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClaudioCas/subscriptions","organizations_url":"https://api.github.com/users/ClaudioCas/orgs","repos_url":"https://api.github.com/users/ClaudioCas/repos","events_url":"https://api.github.com/users/ClaudioCas/events{/privacy}","received_events_url":"https://api.github.com/users/ClaudioCas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-12T09:08:05Z","updated_at":"2016-08-12T10:06:09Z","closed_at":"2016-08-12T10:06:09Z","body":"Dear all,\r\nI'm using hash plugin modified by calvinmetcalf to have base layer in url hash. It works great in Leaflet Rc2, but it not working anymore in Rc3.\r\nThe plugin needs Control.Layer to work. I did a bit of debug of Js to find the issue and I saw that the Index inside the Control.Layer are changed  between the release.\r\nIn Rc2 the indexs of _layers are the ids af layers, in the Rc3 the index are the positions of the layer into the array.\r\n\r\n![layercontrol](https://cloud.githubusercontent.com/assets/4325427/17617850/9637e078-607c-11e6-9dc2-96720627d633.jpg)\r\n\r\nIt is correct?\r\nShould I adapt the plugin to work with the new indexing or it's a kind of \"regression\"?\r\nThanks a lot\r\nClaudio"},"comment":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/comments/239409538","html_url":"https://github.com/Leaflet/Leaflet/issues/4814#issuecomment-239409538","issue_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/4814","id":239409538,"user":{"login":"IvanSanchez","id":1125786,"avatar_url":"https://avatars.githubusercontent.com/u/1125786?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanSanchez","html_url":"https://github.com/IvanSanchez","followers_url":"https://api.github.com/users/IvanSanchez/followers","following_url":"https://api.github.com/users/IvanSanchez/following{/other_user}","gists_url":"https://api.github.com/users/IvanSanchez/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanSanchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanSanchez/subscriptions","organizations_url":"https://api.github.com/users/IvanSanchez/orgs","repos_url":"https://api.github.com/users/IvanSanchez/repos","events_url":"https://api.github.com/users/IvanSanchez/events{/privacy}","received_events_url":"https://api.github.com/users/IvanSanchez/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T10:06:09Z","updated_at":"2016-08-12T10:06:09Z","body":"What @jieter said. Until 1.0.0 final is out, breaking stuff is to be expected, and plugins should be fixed/updated/adapted.\r\n\r\nI'll make a note in https://github.com/mlevans/leaflet-hash/issues."}}
{"actor":{"display_login":"IvanSanchez"}}