{"action":"created","issue":{"url":"https://api.github.com/repos/makinacorpus/Geotrek-mobile/issues/124","labels_url":"https://api.github.com/repos/makinacorpus/Geotrek-mobile/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/makinacorpus/Geotrek-mobile/issues/124/comments","events_url":"https://api.github.com/repos/makinacorpus/Geotrek-mobile/issues/124/events","html_url":"https://github.com/makinacorpus/Geotrek-mobile/issues/124","id":112661610,"number":124,"title":"Handling svg marker icons coloration","user":{"login":"SBats","id":3982958,"avatar_url":"https://avatars.githubusercontent.com/u/3982958?v=3","gravatar_id":"","url":"https://api.github.com/users/SBats","html_url":"https://github.com/SBats","followers_url":"https://api.github.com/users/SBats/followers","following_url":"https://api.github.com/users/SBats/following{/other_user}","gists_url":"https://api.github.com/users/SBats/gists{/gist_id}","starred_url":"https://api.github.com/users/SBats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SBats/subscriptions","organizations_url":"https://api.github.com/users/SBats/orgs","repos_url":"https://api.github.com/users/SBats/repos","events_url":"https://api.github.com/users/SBats/events{/privacy}","received_events_url":"https://api.github.com/users/SBats/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/makinacorpus/Geotrek-mobile/labels/backlog%20PNE","name":"backlog PNE","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-21T19:26:15Z","updated_at":"2015-10-22T15:46:22Z","closed_at":null,"body":"We don't have any way to handle properly markers coloration on the mobile app for the moment. @fredericbonifas suggested that the admin should be able to send a colored version of a simple svg icon, which is smart. \r\nThe other option I see is handling it the same way as rando (downloading the markup of the icon and use it directly inside a divIcon) but I realy fear for speed impacts on mobile.\r\nAnother solution is to repaint in js the svg each time we add the layer, but because of the markers display menu functionnality it will be overconsupming on the cpu. (a lot of call multiple times by use)"},"comment":{"url":"https://api.github.com/repos/makinacorpus/Geotrek-mobile/issues/comments/150267614","html_url":"https://github.com/makinacorpus/Geotrek-mobile/issues/124#issuecomment-150267614","issue_url":"https://api.github.com/repos/makinacorpus/Geotrek-mobile/issues/124","id":150267614,"user":{"login":"camillemonchicourt","id":4418840,"avatar_url":"https://avatars.githubusercontent.com/u/4418840?v=3","gravatar_id":"","url":"https://api.github.com/users/camillemonchicourt","html_url":"https://github.com/camillemonchicourt","followers_url":"https://api.github.com/users/camillemonchicourt/followers","following_url":"https://api.github.com/users/camillemonchicourt/following{/other_user}","gists_url":"https://api.github.com/users/camillemonchicourt/gists{/gist_id}","starred_url":"https://api.github.com/users/camillemonchicourt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camillemonchicourt/subscriptions","organizations_url":"https://api.github.com/users/camillemonchicourt/orgs","repos_url":"https://api.github.com/users/camillemonchicourt/repos","events_url":"https://api.github.com/users/camillemonchicourt/events{/privacy}","received_events_url":"https://api.github.com/users/camillemonchicourt/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T15:46:22Z","updated_at":"2015-10-22T15:46:22Z","body":"Yes, maybe the best for RANDO and MOBILE, would be to have a field color in touristic content categories.\r\nAnd order ? "}}