useWebWorker static method
In a browser, tiles are built and label glyphs drawn by a web worker vmap ships, off the page's thread. Call this before the first map to use another worker script, or with null to do both on the page's own thread. A worker the browser refuses, or that does not load, falls back to the page's thread by itself. Other platforms use isolates and ignore it.
Implementation
static void useWebWorker(String? script) => workerScript = script;