react-native-map-clustering icon indicating copy to clipboard operation
react-native-map-clustering copied to clipboard

fitToCoordinates not working initial

Open dhumal436 opened this issue 4 years ago • 1 comments

When i click the button to fitToCoordinates it goes to the given array of coordinates and comabck to initial location second time it work as intended

<MapView
          ref={mapRef}
          onPanDrag={hideCard}
          tracksViewChanges={false}
          onPress={hideCard}
          flex={1}
          showsUserLocation={true}
          showsMyLocationButton={false}
          followsUserLocation={true}
          spiralEnabled={false}
          initialRegion={{
            latitude: 0,
            longitude: 0,
            latitudeDelta: 0.005,
            longitudeDelta: 0.005,
          }}
          provider={PROVIDER_GOOGLE}>

dhumal436 avatar Sep 01 '21 16:09 dhumal436

+1

cveklica avatar May 07 '24 15:05 cveklica