Skip to content

requireNativeComponent: "BaiduMapOverlayInfoWindow" was not found in the UIManager. #401

@Janeweet

Description

@Janeweet

I use the latest version 1.0.37 which already have added the condition line in BaiduMapPackage.java file. There still have error message. Could anyone help me with this?
Here's my code:
<Marker
ref = {ref => {
this.marker = ref;
}}
title="Picked location"
location={props.pickedLocation}
key="Picked location"
>



latitude : {props.pickedLocation['latitude'].toFixed(5)} {'\n'}
longitude : {props.pickedLocation['longitude'].toFixed(5)}

<InfoWindow
offsetY={0}
style={styles.container}
onPointerDown={() => props.calloutPressHandler('point')}
>
Get point data

<InfoWindow
offsetY={0}
style={styles.container}
onPointerDown={() => props.calloutPressHandler('city')}
>
Get city data

<InfoWindow
offsetY={0}
style={styles.closeCallout}
onPointerDown={()=>{this.marker.hideCallout()}}>




Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions