N
N
Nicholas2015-08-30 16:28:01
Google
Nicholas, 2015-08-30 16:28:01

Google Map API how to subtract 1km from coordinates?

The task is to subtract 1 km from the width
of our coordinates:
[51.526613503445766, 46.02093849218558]
how to find out the values ​​of one kilometer in google map api?
Answer: 0.010000 = 1 km

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
magazovski, 2015-08-30
@magazovski

google maps uses the WGS84 coordinate system . In such a system , the dependence of distance on angles is not linear. Here is an example board

Latitude1° Latitude1° Longitude
110.574 km111.320 km
15°110.649 km107.550 km
30°110.852 km96.486 km
45°111.132 km78.847 km
60°111.412 km55.800 km
75°111.618 km28.902 km
90°111.694 km0.000 km

N
Nicholas, 2015-08-31
@ACCNCC

Answer: 1 km
0.00898° in latitude
0.01440° in longitude

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question