You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Android runtime styling changes not updated when changing existing layer's filter #6063
Set a timer to change one of the existing layers' filter periodically.
(our case is highlighting different areas)
Expected behavior
Styles update according to a specified filter
Actual behavior
The initial render actually looks about right, but consecutive changes to the filter aren't visible on screen. Zooming in or out a full level seems to cause the current correct style to be rendered (and cached) on that zoom level, but again once all zoom levels are populated updates seem pretty erratic. Also sometimes it seems that things are only updated to a tile border.
I've tried invalidate() on MapView, MapboxMap, and individual layers, as workaround, but doesn't help.
Apologies for the lack of code to demonstrate the issue, I just wanted to give you a heads up as quickly as possible about this issue.
@mkv123 Thanks for the report. I'll try to reproduce this myself. To be clear; have you tried the same on layers you added through the runtime style api?
Updating just to confirm: Initially was sceptical about being a dupe of #6040 as I was changing more than just integer params. Looking at the screen capture in #6040 it does look very similar to what I was seeing and #5701 explains what I was seeing and is not integer value specific.
Activity
ivovandongen commentedon Aug 18, 2016
@mkv123 Thanks for the report. I'll try to reproduce this myself. To be clear; have you tried the same on layers you added through the runtime style api?
mkv123 commentedon Aug 18, 2016
No I have not. I've only tried it by modifying the filters of layers coming from through the style url.
incanus commentedon Aug 18, 2016
@mkv123 Would #6040 properly capture the scope of your problem, i.e. is it a dupe? Seems like it is.
incanus commentedon Aug 18, 2016
Dupe of #6040, which is actually #5701 at the root.
mkv123 commentedon Aug 18, 2016
Updating just to confirm: Initially was sceptical about being a dupe of #6040 as I was changing more than just integer params. Looking at the screen capture in #6040 it does look very similar to what I was seeing and #5701 explains what I was seeing and is not integer value specific.
ivovandongen commentedon Aug 23, 2016
Re-opened as we still need to track and test this for the 4.2.0 release.
Add regression tests for tile-reloading related issues in native