mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Move Directions routes and active camera flights between globes
This commit is contained in:
1 parent
5cea3e8cbb
commit
605b9490f3
12 files changed
+568
-63
No files matched your search
@@ -1,6 +1,8 @@
|
||||
import { createApplicationDirectionsLayer } from '../../data/directions.js';
|
||||
|
||||
import { rendererFor } from './renderers.js';
|
||||
|
||||
/** Construct Directions with application scene owners and an explicit route source. */
|
||||
export function createApplicationDirections({ source }) {
|
||||
return createApplicationDirectionsLayer({ source });
|
||||
export function createApplicationDirections({ source, surface }) {
|
||||
return createApplicationDirectionsLayer({ source, groundFloor: surface?.groundFloor, createNativeRenderer: (engine) => rendererFor('directions', engine) });
|
||||
}
|
||||
Reference in new issue
Block a user