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