A
A
Ar jeck2017-11-09 16:20:19
JavaScript
Ar jeck, 2017-11-09 16:20:19

How to calculate the geolocation of a central point that is between 5 others?

There are 5 points on the map - the user's geolocation and 4 more objects. It is necessary to calculate the coordinates of a point that is between these points in order to set the center of the map to this point. I did not find a ready-made method from Google.
5a0456b54ffab305300930.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GreatRash, 2017-11-09
@MrDenzzz

Here . Personally, I like the second answer better.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question