【发布时间】:2019-09-10 06:24:52
【问题描述】:
我在 iOS 上使用 Google 地图,我有多边形。 (react-native-maps)
更新之前(到版本 0.18.3。-目前我无法更新到最新版本)一切正常,但从现在开始填充颜色会得到奇怪的结果。
有时候颜色可以,有时候不合适,没有规则。
在 android 上一切正常。
export const Polygon = (props) => {
return (
<MapView.Polygon
coordinates={ props.selectedAreas }
fillColor={ props.fillColor }
strokeColor={ props.strokeColor }
/>
)
};
【问题讨论】:
标签: reactjs google-maps react-native polygon react-native-ios