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

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

Open
Janeweet opened this issue Aug 23, 2023 · 1 comment

Comments

@Janeweet
Copy link

Janeweet commented Aug 23, 2023

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()}}>




@guo519300884
Copy link

大佬解决这问题了吗?有什么好的替代方案吗?

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

2 participants