0
Can you help me solve a problem? I need to calculate the distance in meters between two GPS coordinates. But I need to do it using pure Javascript.
The context of this is that my application needs to validate the coordinated registration of a client with the coordinate of marking at the time of data collection. For example:
- Coordinated customer registration: -23.522490;-46.736600
- Coordinated marking: -23.4446654;-46.5319316
Compare the two coordinates and return the distance between them in meters.
A good part of the formula I put here: https://answall.com/a/214587/64969; the constant relative to the radius of the Earth needs to be put and perhaps normalize z =]
– Jefferson Quesado
Welcome Genilson Soares, take a tour of the site starting with https://pt.meta.stackoverflow.com/questions/1078/como-e-por-que-aceitar-uma-resposta/1079#1079 and read this post https://answall.com/help/mcve
– user60252