MCPcopy Index your code
hub / github.com/plotly/plotly.js / getLayerIds

Function getLayerIds

test/jasmine/tests/map_test.js:1522–1527  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1520 });
1521
1522 function getLayerIds() {
1523 var subplot = gd._fullLayout.map._subplot;
1524 var layers = subplot.map.getStyle().layers;
1525 var layerIds = layers.map(function(l) { return l.id; });
1526 return layerIds;
1527 }
1528
1529 it('@gl should be able to update *below* - scattermap + layout layer case', function(done) {
1530 function _assert(msg, exp) {

Callers 2

_assertFunction · 0.70
_assertFallbackFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…