{"action":"closed","issue":{"url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/751","labels_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/751/labels{/name}","comments_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/751/comments","events_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/751/events","html_url":"https://github.com/tombatossals/angular-leaflet-directive/issues/751","id":75378871,"number":751,"title":"Pass geoJson object instead of url in overlays","user":{"login":"clluiz","id":1070968,"avatar_url":"https://avatars.githubusercontent.com/u/1070968?v=3","gravatar_id":"","url":"https://api.github.com/users/clluiz","html_url":"https://github.com/clluiz","followers_url":"https://api.github.com/users/clluiz/followers","following_url":"https://api.github.com/users/clluiz/following{/other_user}","gists_url":"https://api.github.com/users/clluiz/gists{/gist_id}","starred_url":"https://api.github.com/users/clluiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clluiz/subscriptions","organizations_url":"https://api.github.com/users/clluiz/orgs","repos_url":"https://api.github.com/users/clluiz/repos","events_url":"https://api.github.com/users/clluiz/events{/privacy}","received_events_url":"https://api.github.com/users/clluiz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-11T22:23:52Z","updated_at":"2015-11-02T17:13:14Z","closed_at":"2015-11-02T17:13:14Z","body":"It's possible to pass a geoJson object directly to an overlay definition? Example, make this:\r\n\r\n                   overlays: {\r\n                        traffic: {\r\n                            name: \"Traffic Jams\",\r\n                            type: \"geoJson\",\r\n                            geoJson: {\r\n                                     // geojson definition\r\n                             }\r\n                        }\r\n                    }\r\n\r\nInstead of this:\r\n\r\n                   overlays: {\r\n                        traffic: {\r\n                            name: \"Traffic Jams\",\r\n                            type: \"xyz\",\r\n                            url: \"http://map.be-mobile.be/customer/mobileninja/nl/los/{z}/{x}/{y}.png\"\r\n                        }\r\n                    }"}}