MCPcopy Create free account
hub / github.com/alignoth/alignoth / mapLayer

Method mapLayer

resources/vega-lite.min.js:5307–5324  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

5305 var o;
5306 }
5307 mapLayer(e, t) {
5308 let { parentEncoding: n, parentProjection: i, ...r } = t;
5309 const { encoding: o, projection: a, ...s } = e,
5310 l = {
5311 ...r,
5312 parentEncoding: Dl({ parentEncoding: n, encoding: o, layer: !0 }),
5313 parentProjection: Fl({ parentProjection: i, projection: a }),
5314 };
5315 return super.mapLayer(
5316 {
5317 ...s,
5318 ...(e.name
5319 ? { name: [l.repeaterPrefix, e.name].filter((e) => e).join("_") }
5320 : {}),
5321 },
5322 l,
5323 );
5324 }
5325 })(),
5326 ec = new (class extends rl {
5327 map(e, t) {

Callers

nothing calls this directly

Calls 2

DlFunction · 0.85
FlFunction · 0.70

Tested by

no test coverage detected