Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 457 Bytes

polyline.md

File metadata and controls

30 lines (23 loc) · 457 Bytes

Polygon 线段覆盖物

<MapView>
  <MapView.Polyline
    points={[
      { latitude: 39, longitude: 113 },
      ...
    ]}
    width={2}
    color="rgba(0, 0, 255, 0.5)"
  />
</MapView>

Props

points: LatLng[]

坐标列表


width?: number

线段宽度


color?: color

线段颜色