|
|
@ -4,10 +4,10 @@ import MapView from "react-native-maps"; |
|
|
|
|
|
|
|
const markerSize = 30; |
|
|
|
|
|
|
|
export default function MapMarker({ ID, title, image, coordinate, ...props }) { |
|
|
|
console.log(ID); |
|
|
|
export default function MapMarker({ title, image, coordinate, ...props }) { |
|
|
|
// console.log({ title, image, coordinate, ...props });
|
|
|
|
return ( |
|
|
|
<MapView.Marker key={ID} coordinate={coordinate} title={title} {...props}> |
|
|
|
<MapView.Marker coordinate={coordinate} title={title} {...props}> |
|
|
|
<View> |
|
|
|
<Image style={styles.markerPoint} source={image} resizeMode="stretch" /> |
|
|
|
</View> |
|
|
|