Skip to main content
プラグインに戻る
@capgo/capacitor-nativegeocoder 名前が変更されました 名前が変更されました@capgoから@capgo/capacitor-nativegeocoderに。
チュートリアル
@capgo/capacitor-nativegeocoder

ネイティブジオコーダー

地理情報を使用して住所を座標に、座標を住所に変換します

ガイド

Tutorial on Native Geocoder

Using @capgo/capacitor-nativegeocoder

Capacitor plugin for native forward and reverse geocoding.

Install

npm install @capgo/capacitor-nativegeocoder
npx cap sync

What This Plugin Exposes

  • reverseGeocode -緯度と経度を住所に変換します。
  • forwardGeocode -住所を緯度と経度に変換します。

Example Usage

reverseGeocode

Convert latitude and longitude to an address.

import { NativeGeocoder } from '@capgo/capacitor-nativegeocoder';

await NativeGeocoder.reverseGeocode({} as ReverseOptions);

forwardGeocode

__CAPGO_KEEP_0__

import { NativeGeocoder } from '@capgo/capacitor-nativegeocoder';

await NativeGeocoder.forwardGeocode({} as ForwardOptions);

__CAPGO_KEEP_0__:

使用中の@capgo/capacitor-nativegeocoderから続けてください

Capgoを使用している場合 @capgo/capacitor-nativegeocoderを使用して Capgoを使用してnativeプラグインの作業を計画する場合、@__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-nativegeocoderに接続してください @capgo/capacitor-nativegeocoderの実装詳細については@capgo/capacitor-nativegeocoderを参照してください for the implementation detail in @capgo/capacitor-nativegeocoder, Getting Startedの実装詳細については __CAPGO_KEEP_0__ プラグイン ディレクトリ Capgo プラグイン ディレクトリの製品ワークフローについては Capgo Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, and 実装詳細については __CAPGO_KEEP_0__ プラグイン __CAPGO_KEEP_1__ によって