在地图或者图纸上两点的测量距离。图上一般会有图上距离和实际距离的换算比例。在图上量得两点之间距离后按照换算比例换算即得两点的实地距离。
他能记住地图上的每一条路、每一个地方和每一段距离。
另外一个例子,假设程序知道地图上所有加油站在哪里,并试图找到距给定点车程距离最小的一家。
As another example, consider a program that knows where all the gas stations are on a map, and tries to find the one with the smallest driving distance from a given point.
是Google 地图 mashup 的另一个例子,它使用 Google 地图让赛跑者(或者任何其他人)能计算出地图上各路线的距离。
Another example of a Google Map mashup is MapMyRun.com, which uses Google Maps to provide a way for runners (or anyone else) to figure out distances of courses on a map.
应用推荐