npm install rn-amaprn amap
``sh`
npm install rn-amap
`js
import { View, StyleSheet } from 'react-native';
import { AMapView } from 'rn-amap';
import { amapProps } from './config';
export default function App() {
return (
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
},
amapFoundation: {
width: '100%',
height: 320,
},
});
``
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
---
Made with create-react-native-library