flyandi / react-native-maps-navigation

Enables custom navigation in react-native-maps
134 stars 54 forks source link

Can show example into functional component #23

Open yashiroiori opened 2 years ago

yashiroiori commented 2 years ago

The problem are map, error in watchposition

image
meerbex commented 2 years ago

Could solve the problem?

yashiroiori commented 2 years ago

Could solve the problem?

Not yet

meerbex commented 2 years ago

I could solve the problem by this way

 <MapViewNavigation
          origin={origin}
          destination={destination}
          navigationMode={navigationMode}
          travelMode={travelMode}
          ref={refNavigation}
          map={() => refMap?.current}

    />
fudr commented 2 years ago

The problem are map, error in watchposition

image

Hi, how is that hook setMapState ?