{"action":"closed","issue":{"url":"https://api.github.com/repos/tillnagel/unfolding/issues/115","labels_url":"https://api.github.com/repos/tillnagel/unfolding/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/tillnagel/unfolding/issues/115/comments","events_url":"https://api.github.com/repos/tillnagel/unfolding/issues/115/events","html_url":"https://github.com/tillnagel/unfolding/issues/115","id":96277832,"number":115,"title":"MarkerFactory: possibility to use another class than MultiMarker","user":{"login":"FogiaFr","id":11517165,"avatar_url":"https://avatars.githubusercontent.com/u/11517165?v=3","gravatar_id":"","url":"https://api.github.com/users/FogiaFr","html_url":"https://github.com/FogiaFr","followers_url":"https://api.github.com/users/FogiaFr/followers","following_url":"https://api.github.com/users/FogiaFr/following{/other_user}","gists_url":"https://api.github.com/users/FogiaFr/gists{/gist_id}","starred_url":"https://api.github.com/users/FogiaFr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FogiaFr/subscriptions","organizations_url":"https://api.github.com/users/FogiaFr/orgs","repos_url":"https://api.github.com/users/FogiaFr/repos","events_url":"https://api.github.com/users/FogiaFr/events{/privacy}","received_events_url":"https://api.github.com/users/FogiaFr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-21T10:06:17Z","updated_at":"2015-07-29T09:38:58Z","closed_at":"2015-07-29T09:38:58Z","body":"In the MarkerFactory, SimplePointMarker, SimpleLineMarker and SimplePolygonMarker can be overwritten with the setXXXClass but the MultiMarker can't.\r\n\r\nA possible way to do this can be found there:\r\nhttps://github.com/FogiaFr/eu/blob/master/front/eu-front-client/src/main/java/com/mkl/eu/front/client/map/marker/MarkerFactory.java\r\nThe changes are:\r\n- addition of a Constructor to MultiMarker with a List<Marker>\r\n- modification of the constructor of the MarkerFactory \r\n- addition of a setMultiPolygonClass method \r\n- modification of the createMultiMarker method"}}