UNPKG

ol

Version:

OpenLayers mapping library

9 lines (6 loc) 377 B
const source = "var e=self;e.onmessage=function(s){console.log(\"version worker received message:\",s.data),e.postMessage(\"version: \".concat(\"latest\"))};"; const blob = new Blob([source], {type: 'application/javascript'}); const url = URL.createObjectURL(blob); export function create() { return new Worker(url); }