@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_KEEP_0__ の実装詳細については、 Capgo プラグインディレクトリ Capgo プラグインディレクトリの製品ワークフローについては、 Capacitor の Capgo プラグイン Capacitor の Capgo プラグインの実装詳細については、 プラグインの追加または更新 __CAPGO_KEEP_0__ プラグインの実装詳細については、