본문으로 바로가기
플러그인으로 돌아가기
@capgo/capacitor-nativegeocoder 이름이 바뀌었습니다 @capgo는 @capgo/capacitor-nativegeocoder로 이름이 바뀌었습니다.
튜토리얼
@capgo/capacitor-nativegeocoder

네이티브 지오코더

네이티브 지오코딩을 사용하여 주소와 좌표를 변환하고 좌표와 주소를 변환합니다.

가이드

자연어 지오코드를 위한 튜토리얼

장치에서 테스트

Capgo 앱을 다운로드하고 QR코드 code를 스캔하세요.

code Native Geocoder 플러그인 미리보기 QR code

@capgo/capacitor-nativegeocoder 사용

Capacitor 플러그인: 네이티브 전방 및 역방향 지오코딩.

설치

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

전체 참조

Using @capgo/capacitor-nativegeocoder

__CAPGO_KEEP_0__를 사용하여 capgo/capacitor-nativegeocoder를 연결하여 native plugin 작업을 계획하고 있습니다. __CAPGO_KEEP_0__/__CAPGO_KEEP_1__-nativegeocoder의 구현 세부 사항을 @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-nativegeocoder에서 확인하세요. If you are using capgo/capacitor-nativegeocoder to plan native plugin work, connect it with capgo/capacitor-nativegeocoder for the implementation detail in capgo/capacitor-nativegeocoder. for the implementation detail in @capgo/capacitor-nativegeocoder, 시작하기 __CAPGO_KEEP_0__ 시작하기의 구현 세부 정보에 대해 Capgo 플러그인 디렉토리 Capgo 플러그인 디렉토리 내의 제품 워크플로에 대해 Capacitor 플러그인들에 의해 Capgo Capacitor 플러그인들에 의해 Capgo의 구현 세부 정보, 그리고 플러그인 추가 또는 업데이트 __CAPGO_KEEP_0__ 플러그인 추가 또는 업데이트의 구현 세부 정보에 대해