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,
- Create MapView page with lightMode on.
- Run app with hot loading.
- 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>