react-native-geocoding

时间:2021-05-24 15:05:11
【文件属性】:
文件名称:react-native-geocoding
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-24 15:05:11
JavaScript React本机地理编码 用于地理编码模块,用于将位置的描述(即街道地址,城镇名称等)转换为地理坐标(即纬度和经度),反之亦然。 此模块使用并且需要API密钥才能进行配额管理。 请检查以获取您的API密钥。 安装 npm install --save react-native-geocoding 例子 import Geocoder from 'react-native-geocoding' ; // Initialize the module (needs to be done only once) Geocoder . init ( "xxxxxxxxxxxxxxxxxxxxxxxxx" ) ; // use a valid API key // With more options // Geocoder.init("xxxxxxxxxxxxxxxxxxxxxxxxx", {lang
【文件预览】:
react-native-geocoding-master
----package.json(655B)
----Geocoder.js(5KB)
----LICENSE(1KB)
----CHANGELOG.md(218B)
----README.md(2KB)
----index.d.ts(1KB)

网友评论