{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/6504","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/6504/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/6504/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/6504/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/6504","id":313496871,"node_id":"MDU6SXNzdWUzMTM0OTY4NzE=","number":6504,"title":"Export Map with customer markers to PNG does not work.","user":{"login":"meghamukim","id":10327789,"node_id":"MDQ6VXNlcjEwMzI3Nzg5","avatar_url":"https://avatars1.githubusercontent.com/u/10327789?v=4","gravatar_id":"","url":"https://api.github.com/users/meghamukim","html_url":"https://github.com/meghamukim","followers_url":"https://api.github.com/users/meghamukim/followers","following_url":"https://api.github.com/users/meghamukim/following{/other_user}","gists_url":"https://api.github.com/users/meghamukim/gists{/gist_id}","starred_url":"https://api.github.com/users/meghamukim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meghamukim/subscriptions","organizations_url":"https://api.github.com/users/meghamukim/orgs","repos_url":"https://api.github.com/users/meghamukim/repos","events_url":"https://api.github.com/users/meghamukim/events{/privacy}","received_events_url":"https://api.github.com/users/meghamukim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-11T21:35:52Z","updated_at":"2018-09-27T14:01:40Z","closed_at":"2018-04-11T22:01:15Z","author_association":"NONE","body":"<!--\r\nHello! Thanks for contributing. \r\n\r\nIf you are reporting a bug, please:\r\n - Make the issue title a succinct but specific description of the unexpected behavior. Bad: \"Map rotation is broken\". Good: \"map.setBearing(...) throws a TypeError for negative values\"\r\n - Include a link to a minimal demonstration of the bug. We recommend using https://jsbin.com\r\n - Ensure you can reproduce the bug using the latest release.\r\n - Check the console for relevant errors and warnings\r\n - Only post to report a bug or request a feature. Direct all other questions to https://stackoverflow.com/questions/tagged/mapbox-gl-js\r\n \r\nIf you are requesting a new feature or suggesting a big change, please:\r\n - Copy the Mapbox GL RFC template into this ticket and fill out as much as you can https://raw.githubusercontent.com/mapbox/mapbox-gl-js/master/RFC_TEMPLATE.md\r\n - Make the issue title a succinct but specific description of your use case or the desired functionality. Bad: \"More clustering options\". Good: \"Compute and expose aggregated values when clustering GeoJSON\".\r\n - If a change to shaders or the style specification is required, clearly mark the issue as a cross-platform issue so that this project’s maintainers know to apply the “cross platform” label.\r\n-->\r\n\r\n**mapbox-gl-js version**:\r\n\r\n### Steps to Trigger Behavior\r\n\r\n 1. Add custom markers(images) to the map\r\n 2. Export the map as a PNG using the map.getCanvas.toDataURL() method pr map.getCanvas().getBlob(..)\r\n\r\n### Expected Behavior\r\n The markers should appear in the PNGs just exported.\r\n### Actual Behavior\r\nThe markers do not appear in the PNG. However the basemap & the route layer plotted is added to the PNG"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/425104209","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/6504#issuecomment-425104209","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/6504","id":425104209,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTEwNDIwOQ==","user":{"login":"PBrockmann","id":5402758,"node_id":"MDQ6VXNlcjU0MDI3NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/5402758?v=4","gravatar_id":"","url":"https://api.github.com/users/PBrockmann","html_url":"https://github.com/PBrockmann","followers_url":"https://api.github.com/users/PBrockmann/followers","following_url":"https://api.github.com/users/PBrockmann/following{/other_user}","gists_url":"https://api.github.com/users/PBrockmann/gists{/gist_id}","starred_url":"https://api.github.com/users/PBrockmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PBrockmann/subscriptions","organizations_url":"https://api.github.com/users/PBrockmann/orgs","repos_url":"https://api.github.com/users/PBrockmann/repos","events_url":"https://api.github.com/users/PBrockmann/events{/privacy}","received_events_url":"https://api.github.com/users/PBrockmann/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T14:01:40Z","updated_at":"2018-09-27T14:01:40Z","author_association":"NONE","body":"I do understand that getCanvas capture the canvas. But how to take a snapshot of such example https://www.mapbox.com/mapbox-gl-js/example/custom-marker-icons/\r\n\r\nSo is there a solution to this ?\r\n"}}
{"actor":{"display_login":"PBrockmann"}}