简体   繁体   中英

Google Maps V3: Comparing the distance of multiple points

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM