UNPKG

plotly.js

Version:

The open source JavaScript graphing library that also powers plotly.py and Plotly Dash

10 lines (6 loc) • 127 B
'use strict'; module.exports = function eventData(out, pt) { out.lon = pt.lon; out.lat = pt.lat; return out; };