@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の実装詳細を確認します。 @capgo/capacitor-nativegeocoder for the implementation detail in @capgo/capacitor-nativegeocoder, はじめに はじめにの実装詳細について Capgo プラグインディレクトリ Capgo プラグインディレクトリの製品ワークフローについて Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, and プラグインの追加または更新 プラグインの追加または更新の実装詳細について