Skip to content
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

Add support for dynamically changing image source properties (#139) #159

Conversation

dmytro-gokun
Copy link
Collaborator

@dmytro-gokun dmytro-gokun commented Jul 1, 2019

As discussed here: #139
As you can see, it does not work super smoothly: we can see some flickering. I do not think that is something we can fix, as it seems to be inherent to mapbox. May be it looks better in 1.0.0 :)

UPD: I've removed flickering by specifying [paint]="{ 'raster-fade-duration': 0}" on the layer object, like the documentation suggests.

@dmytro-gokun dmytro-gokun force-pushed the 139-changing-mgl-image-source-coordinates-dynamically-causes-issues branch 3 times, most recently from e187a06 to 608f4c5 Compare July 2, 2019 07:12
Copy link
Owner

@Wykks Wykks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Thanks!

@dmytro-gokun dmytro-gokun force-pushed the 139-changing-mgl-image-source-coordinates-dynamically-causes-issues branch from 608f4c5 to 55fd22a Compare July 3, 2019 16:11
@Wykks Wykks merged commit 0a60463 into Wykks:master Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants