Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 602 Bytes

circle.md

File metadata and controls

39 lines (28 loc) · 602 Bytes

Cricle 圆形覆盖物

<MapView>
  <MapView.Cricle
    center={{ latitude: 39, longitude: 113 }}
    radius={10000}
    strokeWidth={2}
    strokeColor="rgba(0, 0, 255, 0.5)"
    fillColor="rgba(255, 0, 0, 0.5)"
  />
</MapView>

Props

center: LatLng

圆点坐标


radius: number

半径,单位(米)


strokeWidth?: number

边框宽度


strokeColor?: color

边框颜色


fillColor?: color

填充颜色