mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 02:02:21 +00:00
11 lines
360 B
JavaScript
11 lines
360 B
JavaScript
import { createCyclonesLayer } from '../../layers/cyclones/index.js';
|
|
import * as context from '../../data/contextStore.js';
|
|
|
|
/** Wire cyclone selection to the application shared context. */
|
|
export function createApplicationCyclones(options) {
|
|
return createCyclonesLayer({
|
|
context: typeof window !== 'undefined' ? context : null,
|
|
...options,
|
|
});
|
|
}
|