我正在使用Reaction-Google-Maps/API包,我想要更改 map 的标题.对于如何做到这一点,有什么建议吗?
我已经try 在组件中添加标题,也try 在组件的选项部分传递值,但仍然不起作用.
<GoogleMap
mapContainerStyle={containerStyle}
center={center}
gestureHandling="greedy"
onLoad={onLoad}
onUnmount={onUnmount}
options={{
scrollwheel: true,
disableDefaultUI: true,
auto: true,
noClear: true,
backgroundColor: 'white',
enableHighAccuracy: true,
isFractionalZoomEnabled: true,
scaleControlOptions: true,
zoomControl: false,
streetViewControl: false,
mapTypeControl: false,
fullscreenControl: false,
zoom: 15,
gestureHandling: 'greedy',
}}
>