{"action":"created","issue":{"url":"https://api.github.com/repos/gwidgets/gwty-leaflet/issues/8","repository_url":"https://api.github.com/repos/gwidgets/gwty-leaflet","labels_url":"https://api.github.com/repos/gwidgets/gwty-leaflet/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/gwidgets/gwty-leaflet/issues/8/comments","events_url":"https://api.github.com/repos/gwidgets/gwty-leaflet/issues/8/events","html_url":"https://github.com/gwidgets/gwty-leaflet/issues/8","id":228454472,"number":8,"title":"How to pass another TileLayerOptions implementation to L.tileLayer ?","user":{"login":"olivergg","id":8093035,"avatar_url":"https://avatars3.githubusercontent.com/u/8093035?v=3","gravatar_id":"","url":"https://api.github.com/users/olivergg","html_url":"https://github.com/olivergg","followers_url":"https://api.github.com/users/olivergg/followers","following_url":"https://api.github.com/users/olivergg/following{/other_user}","gists_url":"https://api.github.com/users/olivergg/gists{/gist_id}","starred_url":"https://api.github.com/users/olivergg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivergg/subscriptions","organizations_url":"https://api.github.com/users/olivergg/orgs","repos_url":"https://api.github.com/users/olivergg/repos","events_url":"https://api.github.com/users/olivergg/events{/privacy}","received_events_url":"https://api.github.com/users/olivergg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-13T07:00:06Z","updated_at":"2017-05-16T16:45:38Z","closed_at":"2017-05-16T16:45:38Z","body":"I'm wondering how to use a custom TileLayerOptions with : \r\n\r\n```java\r\npublic static native TileLayer tileLayer(String urlTemplate, \r\nTileLayerOptions options);\r\n```\r\n\r\nTo call this method, you have to pass an instance of TileLayerOptions. But in the leaflet docs, there is no actual object that corresponds to TileLayerOptions, it's rather an object literal.\r\n\r\nSo how do you pass for example a TileLayerWMSOption to this method ? Or any other options map for another provider.\r\n\r\nps : I don't know why all the JsType constructors are mostly private, but because of that, we can't extend L to add other static method, or extend TileLayerOption.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/gwidgets/gwty-leaflet/issues/comments/301842961","html_url":"https://github.com/gwidgets/gwty-leaflet/issues/8#issuecomment-301842961","issue_url":"https://api.github.com/repos/gwidgets/gwty-leaflet/issues/8","id":301842961,"user":{"login":"olivergg","id":8093035,"avatar_url":"https://avatars3.githubusercontent.com/u/8093035?v=3","gravatar_id":"","url":"https://api.github.com/users/olivergg","html_url":"https://github.com/olivergg","followers_url":"https://api.github.com/users/olivergg/followers","following_url":"https://api.github.com/users/olivergg/following{/other_user}","gists_url":"https://api.github.com/users/olivergg/gists{/gist_id}","starred_url":"https://api.github.com/users/olivergg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivergg/subscriptions","organizations_url":"https://api.github.com/users/olivergg/orgs","repos_url":"https://api.github.com/users/olivergg/repos","events_url":"https://api.github.com/users/olivergg/events{/privacy}","received_events_url":"https://api.github.com/users/olivergg/received_events","type":"User","site_admin":false},"created_at":"2017-05-16T16:45:38Z","updated_at":"2017-05-16T16:45:38Z","body":"@zak905  thanks"}}
{"actor":{"display_login":"olivergg"}}