|
|
@@ -3,8 +3,8 @@ import React, { useEffect, useRef } from 'react';
|
|
|
import { PROVIDER_DEFAULT, PROVIDER_GOOGLE } from 'react-native-maps';
|
|
|
import MapView from "@allisonadam81/react-native-super-clusters";
|
|
|
//import Maps1 from './Maps1'
|
|
|
-//import Maps2 from './Maps2'
|
|
|
-//import Maps3 from './Maps3'
|
|
|
+import Maps2 from './Maps2'
|
|
|
+import Maps3 from './Maps3'
|
|
|
import { MyCluster, MyMarker } from './Cluster';
|
|
|
import { StyleSheet } from 'react-native';
|
|
|
|
|
|
@@ -50,7 +50,7 @@ const MapOnly= React.memo(({
|
|
|
key={props.id}
|
|
|
location={latlng}
|
|
|
available={hasAvailableConnector}
|
|
|
- onOpen1={latlng => openClusterMarker(latlng)}/>
|
|
|
+ onOpen={latlng => openClusterMarker(latlng)}/>
|
|
|
);
|
|
|
}
|
|
|
|
|
|
@@ -110,8 +110,8 @@ const MapOnly= React.memo(({
|
|
|
|
|
|
|
|
|
export default {
|
|
|
- //Maps1: Maps2,
|
|
|
- Maps2: <></>,
|
|
|
- Maps3: <></>,
|
|
|
+ Maps1: Maps2,
|
|
|
+ Maps2: Maps2,
|
|
|
+ Maps3: Maps3,
|
|
|
MapOnly: MapOnly
|
|
|
}
|