mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 18:34:02 +00:00
12 lines
478 B
JavaScript
12 lines
478 B
JavaScript
import { createUsgsEarthquakeSource } from '../layers/earthquakes/index.js';
|
|
import { createApplicationEarthquakes } from '../app/layers/earthquakes.js';
|
|
export * from '../layers/earthquakes/index.js';
|
|
/** Wire the standalone source and application overlay owner. */
|
|
export function createEarthquakesLayer({
|
|
source = createUsgsEarthquakeSource(),
|
|
...options
|
|
} = {}) {
|
|
return createApplicationEarthquakes({ source, ...options });
|
|
}
|
|
export default createEarthquakesLayer();
|