I am trying to get a large set of coordinates from Google Maps API for further processing. I appeal to the geometry library from the Google Maps Javascript API. I use node.js, because it is impossible to get (and then process) an array of 1.25M elements with coordinates through a normal browser. I try to connect Geometry through require
var libGetter = require('https://maps.googleapis.com/maps/api/js?key=someKey&libraries=geometry'); and get an error
Error: Cannot find module ' https://maps.googleapis.com/maps/api/js?key=someKey&libraries=geometry '
Question: how to make so that node.js the server could use geometry library? How to add it? Yes, there is Node.js Client for Google Maps Services, but the Geometry library is not there, and the computeOffset () method I need, alas, too. Correct me, please, if this method is there, and I missed it.
computeOffset()" -> see npmjs.com/package/… - Yaant