{"action":"created","issue":{"url":"https://api.github.com/repos/Esri/esri-leaflet/issues/785","repository_url":"https://api.github.com/repos/Esri/esri-leaflet","labels_url":"https://api.github.com/repos/Esri/esri-leaflet/issues/785/labels{/name}","comments_url":"https://api.github.com/repos/Esri/esri-leaflet/issues/785/comments","events_url":"https://api.github.com/repos/Esri/esri-leaflet/issues/785/events","html_url":"https://github.com/Esri/esri-leaflet/issues/785","id":159801813,"number":785,"title":"Feature Layer Click Event Unexpected Behavior","user":{"login":"joelhickok","id":6742308,"avatar_url":"https://avatars.githubusercontent.com/u/6742308?v=3","gravatar_id":"","url":"https://api.github.com/users/joelhickok","html_url":"https://github.com/joelhickok","followers_url":"https://api.github.com/users/joelhickok/followers","following_url":"https://api.github.com/users/joelhickok/following{/other_user}","gists_url":"https://api.github.com/users/joelhickok/gists{/gist_id}","starred_url":"https://api.github.com/users/joelhickok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelhickok/subscriptions","organizations_url":"https://api.github.com/users/joelhickok/orgs","repos_url":"https://api.github.com/users/joelhickok/repos","events_url":"https://api.github.com/users/joelhickok/events{/privacy}","received_events_url":"https://api.github.com/users/joelhickok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-12T01:23:22Z","updated_at":"2016-06-12T04:31:40Z","closed_at":null,"body":"* Browser and version: Chrome 50 and Firefox 46\r\n\r\n* Version of Leaflet (`L.version`): 1.0.0-rc.1\r\n\r\n* Version of esri Leaflet (`L.esri.VERSION`): 2.0.0\r\n\r\n* I'm loading/bundling the library using:\r\nTested both with local webpack, babel, es6 setup and on JSBin using CDN.\r\nhttp://jsbin.com/jecuci/edit?js,console,output\r\n\r\nSteps to reproduce the error:\r\n1. Instantiate Leaflet map.\r\n2. Add any basemap.\r\n3. Add an Esri Feature layer (tested myself with points and polygons).\r\n4. Create a click event on the ftr layer.\r\n5. Click on map pane.\r\n\r\nWhat happens is:\r\na. In my webpack local server setup, no event seems to fire, no console output.  Nothing.\r\nb. In JSBin the event object looks like A LOT a Window object and some other data.\r\n\r\nI was expecting:\r\nNormal click event data including the feature/layer, etc.\r\n"},"comment":{"url":"https://api.github.com/repos/Esri/esri-leaflet/issues/comments/225409640","html_url":"https://github.com/Esri/esri-leaflet/issues/785#issuecomment-225409640","issue_url":"https://api.github.com/repos/Esri/esri-leaflet/issues/785","id":225409640,"user":{"login":"joelhickok","id":6742308,"avatar_url":"https://avatars.githubusercontent.com/u/6742308?v=3","gravatar_id":"","url":"https://api.github.com/users/joelhickok","html_url":"https://github.com/joelhickok","followers_url":"https://api.github.com/users/joelhickok/followers","following_url":"https://api.github.com/users/joelhickok/following{/other_user}","gists_url":"https://api.github.com/users/joelhickok/gists{/gist_id}","starred_url":"https://api.github.com/users/joelhickok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelhickok/subscriptions","organizations_url":"https://api.github.com/users/joelhickok/orgs","repos_url":"https://api.github.com/users/joelhickok/repos","events_url":"https://api.github.com/users/joelhickok/events{/privacy}","received_events_url":"https://api.github.com/users/joelhickok/received_events","type":"User","site_admin":false},"created_at":"2016-06-12T04:31:40Z","updated_at":"2016-06-12T04:31:40Z","body":"Sorry... looks like the problem is with Leaflet 1.0.0-rc.1.  Everything works fine in the Webpack dev environment, as I have been doing for months.\r\n\r\nThe problem occurred when I started my first project using Esri-Leaflet 2.0.0, which forces the use of Leaflet 1.0.0-rc.1.  Mouse events work fine with Marker layers, GeoJSON layers, Esri FeatureLayers, and more, but as soon as you upgrade to 1.0.0-rc.1 the mouse events stop firing.\r\n\r\nI'll post the issue in the right place!\r\n\r\nThanks."}}
{"actor":{"display_login":"joelhickok"}}