パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.2.1

geocoder

フォワードおよびリバースジオコーディング。

30日間ダウンロード
1200
いいね数
270
Pub ポイント
15

パッケージをインストール

flutter pub add geocoder

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

geocoder パッケージは、Flutter アプリケーション向けに前方および逆ジオコーディング機能を提供します。ユーザーが住所を地理座標(緯度と経度)に変換したり、その逆も行えるようにします。aloi sdeniel.com によって開発され、Flutter プロジェクトにスムーズに統合でき、統一インターフェースを通じて複数のジオコーディングサービスをサポートしています。シンプルさと信頼性を重視して設計されており、マップ、住所検索、位置追跡などの位置ベースの機能が必要なアプリに最適です。オープンソースで、透明性とコミュニティの貢献を促進するために GitHub にホストされています。

用途

  • 住所から座標を検索
  • 座標から住所への変換
  • マップピンの配置
  • アプリ内の場所検索
  • 位置ベースのサービス
  • ユーザーの場所タグ付け

主な機能

  • フォワードジオコーディング
  • リバースジオコーディング
  • クロスプラットフォーム対応
  • シンプルな API
  • Open-source
  • 拡張可能なサービス統合

適している対象

  • 地図統合付きモバイルアプリ
  • 場所を認識するアプリケーション
  • 旅行と配達アプリ
  • 住所の解析を必要とするアプリ
  • 軽量なジオコーディングを求める開発者
  • Google Maps や類似のサービスを使用するプロジェクト

注意事項

  • インターネット接続が必要です
  • 外部のジオコーディングサービスに依存しています
  • レート制限が適用される場合があります
  • 組み込みキャッシュなし
  • 制限されたプラットフォーム固有のカスタマイズ
  • サービスの利用可能範囲は地域によって異なります

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Really sorry for the lack of updates. I'm currently really busy and can't really give you an ETA for the next release.

In the meantime, you can try the geocoding package which should offer almost the same functionnalities.

geocoder

Forward and reverse geocoding.

Usage

Import package:geocoder/geocoder.dart, and use the Geocoder.local to access geocoding services provided by the device system.

Example:

import 'package:geocoder/geocoder.dart';

// From a query
final query = "1600 Amphiteatre Parkway, Mountain View";
var addresses = await Geocoder.local.findAddressesFromQuery(query);
var first = addresses.first;
print("${first.featureName} : ${first.coordinates}");

// From coordinates
final coordinates = new Coordinates(1.10, 45.50);
addresses = await Geocoder.local.findAddressesFromCoordinates(coordinates);
first = addresses.first;
print("${first.featureName} : ${first.addressLine}");

You can alternatively use Geocoder.google member for requesting distant data from google services instead of native ones.

You will find links to the API docs on the pub page.

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト