メインコンテンツにジャンプ
プラグインに戻る
@capgo/capacitor-nativegeocoder 名前が変更されました @capgo/nativegeocoder が @capgo/capacitor-nativegeocoder に名前が変更されました。
チュートリアル
@capgo/capacitor-nativegeocoder

ネイティブ ジオコーダー

ネイティブ ジオコーダー プラグインを使用して、住所を座標に、座標を住所に変換します。

ガイド

ネイティブ ジオコーダーに関するチュートリアル

デバイスでテスト

Download the Capgo app, then scan the QR code.

ネイティブジオコーダプラグインプレビューQRcode

@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);

フルリファレンス

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__ プラグインの実装詳細については、