google-maps-react
google-maps-react copied to clipboard
How to select default mapTypeId.
Google Maps allow to modify the style of map even there is option to add cloud based map styling. How can I select default map type e.g "satellite"
https://developers.google.com/maps/documentation/javascript/maptypes
@AxeemHaider You can pass the prop "mapType" to the Map component (unfortunately it's not typed in the IMapProps interface):
<Map google={this.props.google} zoom={14} mapType="satellite" />
<Map google={google} mapType="satellite" centerAroundCurrentLocation />