Skip to content

Add a synchronous version of GeoJSONSource#setData #2275

Description

@lucaswoj

Having a synchronous (main-thread) setData API dovetails nicely with the synchronous queryRenderedFeatures API. I see this API being useful in cases where

  • very small GeoJSON sources need to be updated very quickly for animations
  • users want to know exactly when a setData operation completes

previously implemented in #1979 as skipWorker

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions