MCPcopy Create free account
hub / github.com/microsoft/SandDance / newLineLayer

Function newLineLayer

docs/tests/v2/es6/js/sanddance.js:146191–146199  ·  view source on GitHub ↗
(id, data)

Source from the content-addressed store, hash-verified

146189}
146190
146191function newLineLayer(id, data) {
146192 return new _base.base.layers.LineLayer({
146193 id,
146194 data,
146195 coordinateSystem: _base.base.deck.COORDINATE_SYSTEM.IDENTITY,
146196 getColor: o => o.color,
146197 getStrokeWidth: o => o.strokeWidth
146198 });
146199}
146200
146201function newTextLayer(presenter, id, data, config, fontFamily) {
146202 const props = {

Callers 1

getLayersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected