MapView in lightMode does not display buttons

Hi Team,

I am using MapView lightMode in Android. It does not show map buttons for Directions and Open maps. But when i Change the width in with Hot loading on it renders both buttons.

Steps to Reproduce,

  1. Create MapView page with lightMode on.
  2. Run app with hot loading.
  3. Change width from code, it will hot reload and will render both buttons.
<MapView
    style={{ width: this.props.width, height: this.props.height }}
    initialRegion={{
        latitude: this.props.latitude,
        longitude: this.props.longitude,
        latitudeDelta,
        longitudeDelta,
    }}
    liteMode
    provider={PROVIDER_GOOGLE}
>
    <MapView.Marker
        coordinate={{
            latitude: this.props.latitude,
            longitude: this.props.longitude,
            latitudeDelta,
            longitudeDelta,
        }}
        title={this.props.title}
        description={this.props.description}
    />
</MapView>


Regards,
Nilesh

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.