mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
refactor(street-level): rename the Mapillary layer to street-level
Pure move: the layer id, panel id, CSS prefix, classes, exports and config paths become provider-neutral (street-level, #street-level-panel, sl-); the Mapillary-specific modules move under providers/mapillary/. Behaviour is unchanged. The two sprite collections now register under distinct ids instead of overwriting each other under 'mapillary'. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
547b706f67
commit
2dbc684fb1
38 files changed
+401
-381
No files matched your search
@@ -1,12 +1,12 @@
|
||||
import { createMapillaryLayer } from '../../layers/mapillary/index.js';
|
||||
import { createStreetLevelLayer } from '../../layers/streetLevel/index.js';
|
||||
import * as sprites from '../../data/spriteOrder.js';
|
||||
import * as picking from '../../data/pickRegistry.js';
|
||||
import * as input from '../../data/inputOwnership.js';
|
||||
import * as render from '../../renderGovernor.js';
|
||||
|
||||
/** Construct the Mapillary layer using the application scene owners and a supplied source. */
|
||||
export function createApplicationMapillary({ surface, source }) {
|
||||
return createMapillaryLayer({
|
||||
/** Construct the Street Level layer using the application scene owners and a supplied source. */
|
||||
export function createApplicationStreetLevel({ surface, source }) {
|
||||
return createStreetLevelLayer({
|
||||
source,
|
||||
services: {
|
||||
sprites,
|
||||
Reference in new issue
Block a user