@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__를 사용하여 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__ 플러그인 추가 또는 업데이트의 구현 세부 정보에 대해