Commit af952675 authored by Qiu Xiang's avatar Qiu Xiang

调整画图示例的颜色

parent 5d898940
......@@ -11,8 +11,8 @@ export default class CircleExample extends Component {
return <MapView style={StyleSheet.absoluteFill}>
<Circle
strokeWidth={5}
strokeColor='blue'
fillColor='red'
strokeColor='rgba(0, 0, 255, 0.5)'
fillColor='rgba(255, 0, 0, 0.5)'
radius={10000}
coordinate={{
latitude: 39.906901,
......
......@@ -11,8 +11,8 @@ export default class PolygonExample extends Component {
return <MapView style={StyleSheet.absoluteFill}>
<Polygon
strokeWidth={5}
strokeColor='blue'
fillColor='red'
strokeColor='rgba(0, 0, 255, 0.5)'
fillColor='rgba(255, 0, 0, 0.5)'
coordinates={[
{
latitude: 39.806901,
......
......@@ -11,7 +11,7 @@ export default class PolylineExample extends Component {
return <MapView style={StyleSheet.absoluteFill}>
<Polyline
width={5}
color='red'
color='rgba(255, 0, 0, 0.5)'
coordinates={[
{
latitude: 40.006901,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment