【文件属性】:
文件名称:react-native-web-maps:React Native在Web上实现react-native-maps
文件大小:105KB
文件格式:ZIP
更新时间:2021-05-17 08:33:53
react-native maps JavaScript
react-native-web-maps
React Native在Web上实现react-native-maps
入门
$ npm install react-native-web-maps --save
为了实现react-native-web-maps我们使用react-google-maps包:
$ npm install react-google-maps --save
别名打包您的webpack配置中:
resolve: {
alias: {
'react-native': 'react-native-web',
...
'react-native-maps': 'react-native-web-maps',
}
}
您需要具有Google Maps Javascript API密钥才能使用地图,您
【文件预览】:
react-native-web-maps-master
----.travis.yml(215B)
----docs()
--------stories()
--------.storybook()
--------package.json(493B)
--------.npmignore(17B)
--------yarn.lock(178KB)
----package.json(1KB)
----LICENSE(1KB)
----src()
--------Callout.js(489B)
--------index.js(3KB)
--------Marker.js(869B)
--------Polyline.js(224B)
----.eslintrc.js(127B)
----.gitignore(89B)
----README.md(1KB)
----yarn.lock(146KB)
----.eslintignore(24B)
网友评论
相关文章
- react-native-maps-directions:“ react-native-maps”的Directions组件
- react-native-maps:适用于iOS + Android的React Native Mapview组件
- react-native-uber:使用React Native,react-native-maps,react-native-maps-directions,react-native-google-places-autocomplete,react-native-geocoding,Geolocation,styled-components和Google Maps Platform的Uber应用程序
- react-native-web-webview:React Native用于RN的WebView的Web实现