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

Exception thrown while executing UI block: *** -[__NSDictionaryM setObject:forKeyedSubscript:]: key cannot be nil

Open ramisalem opened this issue 4 years ago • 2 comments

Hello, I am getting this error after the maps loads simulator_screenshot_92E2C8FC-CFC3-4CD7-807E-D00EA987DEF5

When changing the MapView to react-native-maps the issue disappear

 <MapView
          provider={PROVIDER_GOOGLE}
          customMapStyle={MapsStyle}
          clusterColor={Colors.PRIMARY}
          ref={ref}
          style={styles.mapView}
          initialRegion={region}>
          {markers &&
            markers.map(item => (
              <Marker
                key={item.id}
                coordinate={{
                  latitude: Number(item.latitude),
                  longitude: Number(item.longitude),
                }}
                icon={markerIcon}
                onPress={() => handleMarkerPress(item)}
              />
            ))}
        </MapView> 



Note: this issue occurs only when using google  provider 

ramisalem avatar Nov 22 '21 08:11 ramisalem

Any update concerning this issue ?

BeSaad avatar Mar 17 '22 00:03 BeSaad

@ramisalem ... this is due to react-native-reanimated... if you have that library, try to remove it and run the app and see if the issue happens...

jbagaresgaray avatar Feb 01 '23 13:02 jbagaresgaray