Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

MapSnapshotter will not include custom layer #1156

Closed
Chaoba opened this issue Aug 1, 2019 · 1 comment
Closed

MapSnapshotter will not include custom layer #1156

Chaoba opened this issue Aug 1, 2019 · 1 comment

Comments

@Chaoba
Copy link
Contributor

Chaoba commented Aug 1, 2019

Add a custom layer before snapshot, there will be white cycles on top of map.
device-2019-08-01-151519

Then take snapshot and the snapshot image will not include this layer.
share_image_1564644030511

The test codes have been uploaded to branch kl-screenshot.
Open the test app and then go to Image generation, Share snapshot image and then click the button will reproduce this issue.

The same issue can be found on iOS.
cc: @tmpsantos

@Chaoba Chaoba changed the title Screenshot will not include customer layer Snapshot will not include customer layer Aug 1, 2019
@Chaoba Chaoba changed the title Snapshot will not include customer layer MapSnapshotter will not include customer layer Aug 1, 2019
@langsmith langsmith changed the title MapSnapshotter will not include customer layer MapSnapshotter will not include custom layer Sep 7, 2019
@langsmith
Copy link
Contributor

Yes, runtime custom layers aren't currently an option for the map snapshotter. cc @chloekraw mapbox/mapbox-gl-native#9914

I'm going to close this ticket because this isn't an issue specific to this demo app.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants