{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/58","labels_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/58/comments","events_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/58/events","html_url":"https://github.com/angular-ui/ui-leaflet/issues/58","id":114091952,"number":58,"title":"extra params on defaults","user":{"login":"nmccready","id":583593,"avatar_url":"https://avatars.githubusercontent.com/u/583593?v=3","gravatar_id":"","url":"https://api.github.com/users/nmccready","html_url":"https://github.com/nmccready","followers_url":"https://api.github.com/users/nmccready/followers","following_url":"https://api.github.com/users/nmccready/following{/other_user}","gists_url":"https://api.github.com/users/nmccready/gists{/gist_id}","starred_url":"https://api.github.com/users/nmccready/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmccready/subscriptions","organizations_url":"https://api.github.com/users/nmccready/orgs","repos_url":"https://api.github.com/users/nmccready/repos","events_url":"https://api.github.com/users/nmccready/events{/privacy}","received_events_url":"https://api.github.com/users/nmccready/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-29T16:37:15Z","updated_at":"2015-10-29T16:37:16Z","closed_at":null,"body":"_From @kamalhg on May 20, 2015 11:48_\n\nHi,\r\n\r\nin leaflet, some user defined controls have the capability to add and initialize the control in the options object while creating the map. but in leaflet-directive you are restricting the parameters passed in the defaults object. is there any way to pass any other user defined parameter to the map.\r\n\r\nBest Regards,\r\nKamal\n\n_Copied from original issue: tombatossals/angular-leaflet-directive#762_"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/comments/152240446","html_url":"https://github.com/angular-ui/ui-leaflet/issues/58#issuecomment-152240446","issue_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/58","id":152240446,"user":{"login":"nmccready","id":583593,"avatar_url":"https://avatars.githubusercontent.com/u/583593?v=3","gravatar_id":"","url":"https://api.github.com/users/nmccready","html_url":"https://github.com/nmccready","followers_url":"https://api.github.com/users/nmccready/followers","following_url":"https://api.github.com/users/nmccready/following{/other_user}","gists_url":"https://api.github.com/users/nmccready/gists{/gist_id}","starred_url":"https://api.github.com/users/nmccready/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmccready/subscriptions","organizations_url":"https://api.github.com/users/nmccready/orgs","repos_url":"https://api.github.com/users/nmccready/repos","events_url":"https://api.github.com/users/nmccready/events{/privacy}","received_events_url":"https://api.github.com/users/nmccready/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T16:37:15Z","updated_at":"2015-10-29T16:37:15Z","body":"_From @tombatossals on June 28, 2015 16:23_\n\nHi, the \"defaults\" object is used only to override the most common attributes, so creating a new map with common options is easier. If you think there are useful options that need to be managed in the defaults options just propose it, I added only those which I use more.\r\n\r\nIf you could be more specific about these options, or provide an example, I can add them. Better if you send a PR by yourself, of course."}}