-
Notifications
You must be signed in to change notification settings - Fork 533
[Example] Remove layer before adding layer if layer is added in place source example #766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
034b098
to
f853c8c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
6ef2a38
to
8cda007
Compare
@tobrun do you have any idea why the build fails to get the token? |
probably because of moving the repo to the new organization.. |
After double checking this 8000 all, it seems to be related to not sharing env. secrets with forked pull requests (which isn't a configuration or smth like that..) |
@tobrun GitHub actions are quite messy - so what's the policy we merge fork prs without the builds as long as the review approved it? We could also run a post merge build so stuff would not break without someone noticing it. |
Not ideal but for now that way of working is fine. |
[Example] Remove layer before adding layer if layer is added in place source example flutter-mapbox-gl/maps#766 Co-Authored-By: Kevin Li <kevin.li@mapbox.com>
[Example] Remove layer before adding layer if layer is added in place source example flutter-mapbox-gl/maps#766 Co-authored-by: Kevin Li <kevin.li@mapbox.com>
This PR adds a variable
layerAdded
to record the current status of imageLayer and will remove it before adding it, so thatshow Layer
andshow layer below water
act normally.Also removes the redundant
Row
widget.device-2021-11-16-144023.mp4
device-2021-11-16-143651.mp4
|