Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spiral crashing on some android devices #233

Open
kimkong88 opened this issue Jan 13, 2022 · 0 comments
Open

Spiral crashing on some android devices #233

kimkong88 opened this issue Jan 13, 2022 · 0 comments

Comments

@kimkong88
Copy link

When click on cluster and there are markers on same location,

some android devices crash:

image

code is just typical use of this mapview

                    mapRef={(mapRef) => {
                        this.mapView = mapRef;
                    }}
                    minPoints={2}
                    provider={PROVIDER_GOOGLE}
                    clusterColor={Theme.palette.primary}
                    style={styles.map}
                    initialRegion={this.state.initialRegion}
                >
                    {_.map(this.props.rentMap.data, (r, i) => {
                        return (
                            <Marker
                                zIndex={i++}
                                identifier={r.id}
                                key={r.id}
                                coordinate={{
                                    latitude: r.location.lat,
                                    longitude: r.location.lng,
                                }}
                                onPress={this.onPressRentMarker.bind(
                                    this,
                                    r.id
                                )}
                            >
                                {this.renderMarker(r, r.id)}
                            </Marker>
                        );
                    })}
                </MapView>```

I need to disable spiral for now but not sure what's causing the actual issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant