Skip to content

Undefined is not a function #48

@sourabhkheterpal

Description

@sourabhkheterpal

I am getting the above error from ClusterMap component when I stop debugging the app.
It is working fine when debugging is ON.

ENV: Android
React Native: 0.61.5
"react-native-maps": "^0.27.1",
"react-native-cluster-map": "^1.0.9",

Code:

<ClusterMap
            provider={PROVIDER_GOOGLE}
            style={{ ...StyleSheet.absoluteFillObject }}
            region={{
                latitude: 22.593684,
                longitude: 80.96288,
                latitudeDelta: 25.9922,
                longitudeDelta: 35.9421,
            }}
            renderClusterMarker={renderCustomClusterMarker}
        >
            {DemoMarkers.map((marker, id) => {
                return <Marker coordinate={marker} key={id}/>;
            })}
        </ClusterMap>

Screenshot_1614503908

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions