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

Function invert

src/plots/mapbox/mapbox.js:548–551  ·  view source on GitHub ↗
(pxpy)

Source from the content-addressed store, hash-verified

546 if(self.isStatic) return;
547
548 function invert(pxpy) {
549 var obj = self.map.unproject(pxpy);
550 return [obj.lng, obj.lat];
551 }
552
553 var dragMode = fullLayout.dragmode;
554 var fillRangeItems;

Callers 1

mapbox.jsFile · 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…