Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 740 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 740 Bytes

React-Native-Maps-Clusters npm version

📌 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 }
    ]}
  />
);