@capgo/capacitor-nativegeocoderを使用
Capacitor plugin for native forward and reverse geocoding.
インストール
npm install @capgo/capacitor-nativegeocoder
npx cap sync
このプラグインが提供するもの
reverseGeocode- 座標から住所に変換します。forwardGeocode- 住所から座標に変換します。
例の使用方法
reverseGeocode
緯度と経度を住所に変換します。
import { NativeGeocoder } from '@capgo/capacitor-nativegeocoder';
await NativeGeocoder.reverseGeocode({} as ReverseOptions);
forwardGeocode
住所を緯度と経度に変換します。
import { NativeGeocoder } from '@capgo/capacitor-nativegeocoder';
await NativeGeocoder.forwardGeocode({} as ForwardOptions);
フルリファレンス
- GitHub: https://github.com/Cap-go/capacitor-nativegeocoder/
- ドキュメント: /docs/plugins/nativegeocoder/
Keep going from Using @capgo/capacitor-nativegeocoder
Capacitor NativeGeocoderを使用している場合 Using @capgo/capacitor-nativegeocoder Capacitor NativeGeocoderを使用して、ネイティブプラグインの作業を計画する場合、Capacitor NativeGeocoderを接続してください。 @capgo/capacitor-nativegeocoder for the implementation detail in @capgo/capacitor-nativegeocoder, スタートガイド スタートガイドの実装詳細について Capgo プラグインディレクトリ Capgo プラグインディレクトリの製品ワークフローについて Capacitor の Capgo によって提供されるプラグイン Capacitor の Capgo によって提供されるプラグインの実装詳細について プラグインの追加または更新 プラグインの追加または更新の実装詳細について