{"action":"created","issue":{"url":"https://api.github.com/repos/Esri/Leaflet.shapeMarkers/issues/21","repository_url":"https://api.github.com/repos/Esri/Leaflet.shapeMarkers","labels_url":"https://api.github.com/repos/Esri/Leaflet.shapeMarkers/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/Esri/Leaflet.shapeMarkers/issues/21/comments","events_url":"https://api.github.com/repos/Esri/Leaflet.shapeMarkers/issues/21/events","html_url":"https://github.com/Esri/Leaflet.shapeMarkers/issues/21","id":149325392,"number":21,"title":"Minor bug","user":{"login":"rowanwins","id":6735870,"avatar_url":"https://avatars.githubusercontent.com/u/6735870?v=3","gravatar_id":"","url":"https://api.github.com/users/rowanwins","html_url":"https://github.com/rowanwins","followers_url":"https://api.github.com/users/rowanwins/followers","following_url":"https://api.github.com/users/rowanwins/following{/other_user}","gists_url":"https://api.github.com/users/rowanwins/gists{/gist_id}","starred_url":"https://api.github.com/users/rowanwins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowanwins/subscriptions","organizations_url":"https://api.github.com/users/rowanwins/orgs","repos_url":"https://api.github.com/users/rowanwins/repos","events_url":"https://api.github.com/users/rowanwins/events{/privacy}","received_events_url":"https://api.github.com/users/rowanwins/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Esri/Leaflet.shapeMarkers/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-19T01:59:50Z","updated_at":"2016-04-19T16:07:47Z","closed_at":null,"body":"Gday @jgravois \r\n\r\nI did just find one minor which effects both of our plugins. If I do something like this in leaflet 1.0\r\n````\r\nvar myLayer = L.geoJson(data, {\r\n    pointToLayer: function (feature, latlng) {\r\n\treturn L.shapeMarkers.xMarker(latlng, 50)\r\n      })\r\n\r\nmyLayer.toGeoJSON()\r\n\r\n````\r\nmy toGeoJSON comes back as empty.... I think it relates to roughly these lines in the[ L.GeoJSON ](https://github.com/Leaflet/Leaflet/blob/v1.0.0-rc.1/src/layer/GeoJSON.js#L280), it's a bit of an edge case but it's effected my app, if I work out a good way to fix it I'll let you know!"},"comment":{"url":"https://api.github.com/repos/Esri/Leaflet.shapeMarkers/issues/comments/211997785","html_url":"https://github.com/Esri/Leaflet.shapeMarkers/issues/21#issuecomment-211997785","issue_url":"https://api.github.com/repos/Esri/Leaflet.shapeMarkers/issues/21","id":211997785,"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-04-19T16:07:47Z","updated_at":"2016-04-19T16:07:47Z","body":"confirmed: http://jsbin.com/mivirenizu/1/edit?html,output\r\n\r\ni'll look into it."}}