文件名称:用于 MapKit 本地搜索的 React Native 模块
文件大小:7KB
文件格式:ZIP
更新时间:2024-06-28 10:17:33
React Native System
React-Native-LocalSearch React Native Module for IOS MapKit Local Search 安装 npm install --save react-native-localsearch 然后将 RNLocalSearch 添加到项目库中。 用法 var RNLocalSearch = require('react-native-localsearch'); RNLocalSearch.searchForLocations(searchString, region, callback(err, resp) => {}); 示例 var RNLocalSearch = require('react-native-localsearch'); const region = {纬度:30.2669444,经度:-97.7427778,纬度Delta:0.1,经度Delta:0.1}; RNLocalSearch.searchForLocations('Lalas', region, callback(err, resp) => {});
【文件预览】:
react-native-localsearch-master
----RNLocalSearch.m(2KB)
----.flowconfig(943B)
----RNLocalSearch.ios.js(146B)
----.npmignore(274B)
----RNLocalSearch.h(135B)
----LICENSE(1KB)
----README.md(632B)
----RNLocalSearch.xcodeproj()
--------project.pbxproj(9KB)
----.gitignore(294B)
----package.json(693B)