@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);
전체 참조
- GitHub: https://github.com/Cap-go/capacitor-nativegeocoder/
- 문서: /docs/plugins/nativegeocoder/
Using @capgo/capacitor-nativegeocoder
__CAPGO_KEEP_0__를 사용하여 native plugin 작업을 계속하세요. Using @capgo/capacitor-nativegeocoder __CAPGO_KEEP_0__를 사용하여 native plugin 작업을 계속하세요. @capgo/capacitor-nativegeocoder for the implementation detail in @capgo/capacitor-nativegeocoder, 시작하기 시작하기 구현 세부 사항에 대한 Capgo 플러그인 디렉토리 Capgo 플러그인 디렉토리에서 제품 워크플로에 대한 Capacitor Capgo 플러그인 Capacitor Capgo 플러그인 구현 세부 사항 및 플러그인 추가 또는 업데이트 플러그인 추가 또는 업데이트 구현 세부 사항에 대한