2.0.1 ā¢ Published 4 years ago
react-native-maps-clusters v2.0.1
React-Native-Maps-Clusters
š A simple solution for providing clustering to React-Native-Maps for both Android and iOS
Installation:
yarn react-native-maps-clusters
Usage:
import MapView from 'react-native-maps-clusters';
const App = () => (
<MapView
data={[
{ currency: "ā¬", price: 123, latitude: 55.6732765, longitude: 12.5670903 },
{ currency: "$", price: 69, latitude: 55.6839255, longitude: 12.5576476 },
{ currency: "Ā£", price: 666, latitude: 55.6799209, longitude: 12.5800284 }
]}
/>
);