UNPKG
@goongmaps/goong-js
Version:
latest (1.0.9)
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
A WebGL interactive maps library
@goongmaps/goong-js
/
src
/
util
/
browser
/
web_worker.js
11 lines
(7 loc)
•
230 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
// @flow
import
window
from
'../window'
;
import
goongjs
from
'../../'
;
import
type
{
WorkerInterface
}
from
'../web_worker'
;
export
default
function
(
):
WorkerInterface
{
return
(
new
window
.
Worker
(goongjs.
workerUrl
):
any
); }