-1

I am writing a java program to generate a calculated distance from a mathematical formula. I want to add this value to a location coordinate value obtained from google maps in order to get the new location coordinate.How can i add the distance to geo-location in my program?

1 Answers1

0

to do the conversions between geoloaction coordinates and distances in meters, nautical mile conversions has to be taken to consideration.This is possible in a manual calculation. but projection system or the coordinate s system of the maps used should be known.

  • I also found out that there is a library called geometry in google maps API which enables to do this using the method compute offset.https://developers.google.com/maps/documentation/javascript/reference/geometry#spherical.computeOffset – Navodya Galagedara Jun 22 '19 at 19:32