I'm having a lot of trouble integrating the Google Maps API into Node.js. I'm currently using the node-googlemaps library.
However, I can't seem to be able to use the Google Maps geometry library specifically within this API.
So far I've gotten the directions API working. I would like to construct a polyline from the result of directions response, and then see if the polyline contains coordinates.
I guess the geometry API isn't 100% necessary, but it's something that I know would work if I could just get it working through Node.
Thank you!
The spherical-geometry-js library ports the Google Maps geometry API, so you could use it alongside node-googlemaps in your code. (Disclaimer: I'm the author of spherical-geometry-js.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With