ソースを参照

update app/pages/home/maps/Maps.js

wudebin 6 ヶ月 前
コミット
efa92d386f
1 ファイル変更6 行追加6 行削除
  1. 6 6
      Strides-SPAPP/app/pages/home/maps/Maps.js

+ 6 - 6
Strides-SPAPP/app/pages/home/maps/Maps.js

@@ -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
 }