v0.0.1+1
georouter
オープンソースルーティングマシン(OSRM)API を使用して、ポイント間の経路を取得するためのパッケージです。自動車、徒歩、自転車、交通機関など、複数の移動モードをサポートしています。
25いいね 430日間ダウンロード130Pub ポイント
AndroidiOSWebmacOSWindowsLinux
ahmedsaleh210/georouter open-source repository details.
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
GeoRouter is a Flutter package that provides an easy-to-use API to request directions between points using OpenStreetMap Route Service Machine (OSRM).
dependencies:
georouter: <lastest>
import 'package:georouter/georouter.dart';
final georouter = GeoRouter(mode: TravelMode.driving);
final coordinates = [
PolylinePoint(latitude: 51.5074, longitude: -0.1278), // London, UK
PolylinePoint(latitude: 48.8566, longitude: 2.3522), // Paris, France
];
try {
final directions = await georouter.getDirectionsBetweenPoints(coordinates);
// Do something with the directions
} on GeoRouterException catch (e) {
// Handle GeoRouterException
} on HttpException catch (e) {
// Handle HttpException
}
http: ^0.13.5
依存関係一覧 4 件
{"sdk":"flutter"}^0.13.5^2.0.1{"sdk":"flutter"}用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗