0

私は最近、住所付きのリストを管理するアプリケーションに取り組んでいるチームに参加しました。ユーザーが検索して郵便番号を含めると、アプリケーションは各リストまでの距離を表示します。現在、これには Google Maps API を使用しています。ここで StackOverflow に関する質問を読むと、これが最善の方法であることがわかります。

ただし、API ドキュメントを読んでいると、各結果のマップも表示しない限り、これは明示的に禁止されているようです (次のステートメントの読み方によっては、フィルターで除外する各結果も表示される可能性があります)。

Use of the Distance Matrix API must relate to the display of information on a Google Map; for example, to determine origin-destination pairs that fall within a specific driving time from one another, before requesting and displaying those destinations on a map. Use of the service in an application that doesn't display a Google map is prohibited.

( https://developers.google.com/maps/documentation/distancematrix/ )

API 用語に違反することなくこれを達成するための最良の方法は何ですか?

4

1 に答える 1

1

Geo::PostalCode モジュール (perl) を検討しますか? maxmind データベースを使用して、場所間の距離を計算します (さまざまな言語でバインドされています)。

于 2012-05-13T01:33:36.080 に答える