{"action":"closed","issue":{"url":"https://api.github.com/repos/Polymap4/polymap4-rap/issues/2","labels_url":"https://api.github.com/repos/Polymap4/polymap4-rap/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Polymap4/polymap4-rap/issues/2/comments","events_url":"https://api.github.com/repos/Polymap4/polymap4-rap/issues/2/events","html_url":"https://github.com/Polymap4/polymap4-rap/issues/2","id":58469468,"number":2,"title":"OpenLayersWidget.create() ?","user":{"login":"fb71","id":632009,"avatar_url":"https://avatars.githubusercontent.com/u/632009?v=3","gravatar_id":"","url":"https://api.github.com/users/fb71","html_url":"https://github.com/fb71","followers_url":"https://api.github.com/users/fb71/followers","following_url":"https://api.github.com/users/fb71/following{/other_user}","gists_url":"https://api.github.com/users/fb71/gists{/gist_id}","starred_url":"https://api.github.com/users/fb71/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fb71/subscriptions","organizations_url":"https://api.github.com/users/fb71/orgs","repos_url":"https://api.github.com/users/fb71/repos","events_url":"https://api.github.com/users/fb71/events{/privacy}","received_events_url":"https://api.github.com/users/fb71/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Polymap4/polymap4-rap/labels/openlayers","name":"openlayers","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"stundzig","id":1140546,"avatar_url":"https://avatars.githubusercontent.com/u/1140546?v=3","gravatar_id":"","url":"https://api.github.com/users/stundzig","html_url":"https://github.com/stundzig","followers_url":"https://api.github.com/users/stundzig/followers","following_url":"https://api.github.com/users/stundzig/following{/other_user}","gists_url":"https://api.github.com/users/stundzig/gists{/gist_id}","starred_url":"https://api.github.com/users/stundzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stundzig/subscriptions","organizations_url":"https://api.github.com/users/stundzig/orgs","repos_url":"https://api.github.com/users/stundzig/repos","events_url":"https://api.github.com/users/stundzig/events{/privacy}","received_events_url":"https://api.github.com/users/stundzig/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-02-21T18:31:39Z","updated_at":"2015-05-29T11:57:04Z","closed_at":"2015-05-29T11:57:04Z","body":"OpenLayersWidget.create() is commented out in favour of new OpenLayerMap(widget, ...). Isn't this bad because:\r\n  - API looks like several maps can be created for one widget (which is not true?)\r\n  - a widget without a map is useless, so both are almost always created by the same piece of code but programmer needs to figure that both are needed \r\n  - getMap()/setMap() are exposed to API but there are for internal use only (?)\r\n  - magic of ctor registering instance reference somewhere alse is ugly"}}