Skip to content
This repository was archived by the owner on Aug 15, 2021. It is now read-only.
This repository was archived by the owner on Aug 15, 2021. It is now read-only.

Cannot read property 'StyleURL' of undefined #15

@iamir4g

Description

@iamir4g

hi
i use your sample example but get this error
Cannot read property 'StyleURL' of undefined
my react native version : "react-native": "~0.63.4"
and i have android and ios folder i think use react native cli not expo
this is my code:

       <Container>
                <Content>
                    <Text> Add Location Screen</Text>
                    <CedarMaps.MapView
                       style={styles2.container}
                        token={ACCESS_TOKEN} 
                        mapStyle={"style://streets-light"}
                    >
                        <CedarMaps.Camera
                         zoomLevel={15}
                         centerCoordinate={[51.4093, 35.7546]}
                         />
                    </CedarMaps.MapView>

                </Content>
            </Container>
        )

thank

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