P
P
Pyotr Kuzmichev2016-04-07 04:59:01
PHP
Pyotr Kuzmichev, 2016-04-07 04:59:01

Calculating distance between points?

Good afternoon.
Please tell me a plugin / module / etc to calculate the distance from the current location (for example, a store) to the nearest five stores, and not on a map with pins, but as a list.
wordpress/joomla/pure php - doesn't matter.
I've been struggling with this problem for an hour, I erased my fingers on Claudia.
thank.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2016-04-07
@dimasmagadan

you won't believe it,
but exactly the first request in Google for "google maps api distance between two points"
gave a link to a description of how to do it
https://developers.google.com/maps/documentation/d...
and a request for "google maps calculate distance between 2 locations" (if you need to calculate the distance not along the road, but directly between points) the first link was given by
stackoverflow.com/questions/1502590/calculate-dist...
there is a piece of code ready

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question