I want to create a Google map which automatically calculates the distance between a number of different points.
For example:
I have map and 3 points A-shop1, B-shop2, and C-customer. I want to show on one map distance between point C –> A, and second distance from point C –> B (not step, two difrent road). I want to show which store is closer.
thx
Use google’s distance matrix api. https://developers.google.com/maps/documentation/distancematrix/