{"action":"created","issue":{"url":"https://api.github.com/repos/Leaflet/Leaflet.VectorGrid/issues/146","repository_url":"https://api.github.com/repos/Leaflet/Leaflet.VectorGrid","labels_url":"https://api.github.com/repos/Leaflet/Leaflet.VectorGrid/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet.VectorGrid/issues/146/comments","events_url":"https://api.github.com/repos/Leaflet/Leaflet.VectorGrid/issues/146/events","html_url":"https://github.com/Leaflet/Leaflet.VectorGrid/issues/146","id":300539388,"number":146,"title":"point change to icon","user":{"login":"Chadjhou","id":24283107,"avatar_url":"https://avatars3.githubusercontent.com/u/24283107?v=4","gravatar_id":"","url":"https://api.github.com/users/Chadjhou","html_url":"https://github.com/Chadjhou","followers_url":"https://api.github.com/users/Chadjhou/followers","following_url":"https://api.github.com/users/Chadjhou/following{/other_user}","gists_url":"https://api.github.com/users/Chadjhou/gists{/gist_id}","starred_url":"https://api.github.com/users/Chadjhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chadjhou/subscriptions","organizations_url":"https://api.github.com/users/Chadjhou/orgs","repos_url":"https://api.github.com/users/Chadjhou/repos","events_url":"https://api.github.com/users/Chadjhou/events{/privacy}","received_events_url":"https://api.github.com/users/Chadjhou/received_events","type":"User","site_admin":false},"labels":[{"id":524095073,"url":"https://api.github.com/repos/Leaflet/Leaflet.VectorGrid/labels/need%20more%20info","name":"need more info","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-27T08:49:38Z","updated_at":"2018-03-01T01:51:54Z","closed_at":null,"author_association":"NONE","body":"hello gays\r\ni use this in my code,\r\n```\r\nvar tile = L.vectorGrid.slicer(geojson,{\r\n                    interactive: true,\r\n                    rendererFactory: L.canvas.tile,\r\n                    vectorTileLayerStyles:{\r\n                        sliced: { icon: new L.Icon.Default()}\r\n                    }\r\n                    }).addTo(map);\r\ntile.on('click', function(e) {\r\n                        var pro = e.layer.properties;\r\n                        var HTML = '';\r\n                        for (var q in pro) {\r\n                            HTML += q + \":\" + pro[q] + '<br />';\r\n                        }\r\n                        L.popup()\r\n                            .setContent(HTML)\r\n                            .setLatLng(e.latlng)\r\n                            .openOn(map);\r\n                    })\r\n```\r\n\r\nand now i can get icon on my map but if move mouse moveon icon \r\nand i get some error like that\r\n\"\"Uncaught TypeError: Cannot read property 'lat' of undefined\"\"\r\n\r\nsomeone can help me??\r\n\r\ni use leaflet 1.2.0 in chrome thx"},"comment":{"url":"https://api.github.com/repos/Leaflet/Leaflet.VectorGrid/issues/comments/369447505","html_url":"https://github.com/Leaflet/Leaflet.VectorGrid/issues/146#issuecomment-369447505","issue_url":"https://api.github.com/repos/Leaflet/Leaflet.VectorGrid/issues/146","id":369447505,"user":{"login":"Chadjhou","id":24283107,"avatar_url":"https://avatars3.githubusercontent.com/u/24283107?v=4","gravatar_id":"","url":"https://api.github.com/users/Chadjhou","html_url":"https://github.com/Chadjhou","followers_url":"https://api.github.com/users/Chadjhou/followers","following_url":"https://api.github.com/users/Chadjhou/following{/other_user}","gists_url":"https://api.github.com/users/Chadjhou/gists{/gist_id}","starred_url":"https://api.github.com/users/Chadjhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chadjhou/subscriptions","organizations_url":"https://api.github.com/users/Chadjhou/orgs","repos_url":"https://api.github.com/users/Chadjhou/repos","events_url":"https://api.github.com/users/Chadjhou/events{/privacy}","received_events_url":"https://api.github.com/users/Chadjhou/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T01:51:54Z","updated_at":"2018-03-01T01:51:54Z","author_association":"NONE","body":"thx your remind!!\r\nexample is here : https://plnkr.co/edit/FdHsFj4WbheXT90z1fTm?p=preview\r\n"}}
{"actor":{"display_login":"Chadjhou"}}