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

Function getGeoJsonData

test/jasmine/tests/map_test.js:1383–1396  ·  view source on GitHub ↗
(gd, mode)

Source from the content-addressed store, hash-verified

1381 }
1382
1383 function getGeoJsonData(gd, mode) {
1384 var mapInfo = getMapInfo(gd);
1385 var out = [];
1386
1387 mapInfo.traceSources.forEach(function(s) {
1388 var info = mapInfo.sources[s];
1389
1390 if(s.indexOf(mode) === -1) return;
1391
1392 out.push(info._data);
1393 });
1394
1395 return out;
1396 }
1397
1398 function _mouseEvent(type, pos, cb) {
1399 return new Promise(function(resolve) {

Callers 1

assertDataPtsFunction · 0.85

Calls 1

getMapInfoFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…