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

Function addCluster

src/traces/scattermapbox/plot.js:114–122  ·  view source on GitHub ↗
(noSource)

Source from the content-addressed store, hash-verified

112 var lThis = this;
113
114 function addCluster(noSource) {
115 if(!noSource) lThis.addSource('circle', optsAll.circle, trace.cluster);
116 var order = ORDER.cluster;
117 for(var i = 0; i < order.length; i++) {
118 var k = order[i];
119 var opts = optsAll[k];
120 lThis.addLayer(k, opts, below);
121 }
122 }
123
124 function removeCluster(noSource) {
125 var order = ORDER.cluster;

Callers 1

addFunction · 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…