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.
Modifying GeoJsonSource data does not invalidate layers #6744
It should be noted that the same behavior is seen if one changes the backing data in a geojson source
(e.g. layers not not invalidating until the map is invalidated by zoom or some other event)
@sddamico I've tried to reproduce this, but it works fine for me. If I create an empty style, with only an empty geojson source and a single layer referencing it (json file), I can update it from code like:
Activity
zugaldia commentedon Oct 19, 2016
/cc: @ivovandongen
ivovandongen commentedon Oct 19, 2016
@sddamico I've tried to reproduce this, but it works fine for me. If I create an empty style, with only an empty geojson source and a single layer referencing it (json file), I can update it from code like:
(where readRawResource reads the json from somewhere)
Additional updates also take immediate effect.
Please create a minimal case to reproduce if this remains an issue after reviewing your code/style. Closing for now.