React Native Maps
react-native-maps
React Native Mapview component for iOS + Android
React Native Libraries
react
react-native
react-component
map
mapview
google-maps
mapkit
react-native-maps
React Native Libraries
javascript
Stars
16k
Weekly
1.1M
Open issues
99
Bundle
~25 kB
Installation
npm install react-native-mapsCode example
import { View, Text, StyleSheet } from "react-native";
import { Maps } from "react-native-maps";
export function Example() {
return (
<View style={styles.box}>
<Text style={styles.title}>Maps</Text>
<Maps />
</View>
);
}
const styles = StyleSheet.create({
box: { flex: 1, alignItems: "center", justifyContent: "center", gap: 12 },
title: { fontSize: 18, fontWeight: "600" },
});Pros & cons
Pros
- Actively maintained by Leland Richardson
- 1.1M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~25 kB to your bundle
- Needs client-only rendering in SSR frameworks
- 99 open issues on GitHub