{"action":"created","issue":{"url":"https://api.github.com/repos/Esri/esri-leaflet-doc/issues/78","repository_url":"https://api.github.com/repos/Esri/esri-leaflet-doc","labels_url":"https://api.github.com/repos/Esri/esri-leaflet-doc/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/Esri/esri-leaflet-doc/issues/78/comments","events_url":"https://api.github.com/repos/Esri/esri-leaflet-doc/issues/78/events","html_url":"https://github.com/Esri/esri-leaflet-doc/issues/78","id":173547044,"number":78,"title":"fix final code snippet in feature layer tutorial","user":{"login":"jgravois","id":3011734,"avatar_url":"https://avatars.githubusercontent.com/u/3011734?v=3","gravatar_id":"","url":"https://api.github.com/users/jgravois","html_url":"https://github.com/jgravois","followers_url":"https://api.github.com/users/jgravois/followers","following_url":"https://api.github.com/users/jgravois/following{/other_user}","gists_url":"https://api.github.com/users/jgravois/gists{/gist_id}","starred_url":"https://api.github.com/users/jgravois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgravois/subscriptions","organizations_url":"https://api.github.com/users/jgravois/orgs","repos_url":"https://api.github.com/users/jgravois/repos","events_url":"https://api.github.com/users/jgravois/events{/privacy}","received_events_url":"https://api.github.com/users/jgravois/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-26T21:27:09Z","updated_at":"2016-08-29T16:06:35Z","closed_at":"2016-08-29T16:06:17Z","body":"sorry @pmacMaps, i didn't see your [commit comment](https://github.com/Esri/esri-leaflet-doc/pull/72/files/360aa7286471fb66f59299846af7e1beb65975b0#r76252872) until after i merged the new tutorial.\r\n\r\nthe signature of bindPopup changed between esri leaflet `1.x` and `2.x`.  if you set a breakpoint and inspect the variable passed in `bindPopup()`s callback function in `1.x` you can see that it refers to an individual GeoJSON feature, not a generic mouse event.\r\n\r\n![screenshot 2016-08-26 14 25 44](https://cloud.githubusercontent.com/assets/3011734/18020952/0ada7630-6b99-11e6-8f56-f0d5787c1501.png)\r\n\r\nbecause of this, you'll need to tweak the code slightly to update the reference to individual attribute fields.  let me know if you need more of a clue than that.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Esri/esri-leaflet-doc/issues/comments/243170195","html_url":"https://github.com/Esri/esri-leaflet-doc/issues/78#issuecomment-243170195","issue_url":"https://api.github.com/repos/Esri/esri-leaflet-doc/issues/78","id":243170195,"user":{"login":"jgravois","id":3011734,"avatar_url":"https://avatars.githubusercontent.com/u/3011734?v=3","gravatar_id":"","url":"https://api.github.com/users/jgravois","html_url":"https://github.com/jgravois","followers_url":"https://api.github.com/users/jgravois/followers","following_url":"https://api.github.com/users/jgravois/following{/other_user}","gists_url":"https://api.github.com/users/jgravois/gists{/gist_id}","starred_url":"https://api.github.com/users/jgravois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgravois/subscriptions","organizations_url":"https://api.github.com/users/jgravois/orgs","repos_url":"https://api.github.com/users/jgravois/repos","events_url":"https://api.github.com/users/jgravois/events{/privacy}","received_events_url":"https://api.github.com/users/jgravois/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T16:06:35Z","updated_at":"2016-08-29T16:06:35Z","body":"thx @pmacMaps!"}}
{"actor":{"display_login":"jgravois"}}