react native maps clustering

前端 未结 3 1670
悲哀的现实
悲哀的现实 2021-01-31 19:19

I want to integrate maps in my react-native app, I am using the “react-native-maps” library for that https://github.com/airbnb/react-native-maps I want to use clustering but I a

3条回答
  •  悲哀的现实
    2021-01-31 19:58

    yarn add react-native-map-clustering

    import {Marker} from 'react-native-maps';
    import MapView from "react-native-map-clustering";
    
    
        const INITIAL_REGION = {
          latitude: 52.5,
          longitude: 19.2,
          latitudeDelta: 8.5,
          longitudeDelta: 8.5,
        };
        
        const App = () => (
          
            
            
            
            
            
            
            
            
            
          
        );
    

提交回复
热议问题