Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
react-native-amap3d
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
放牛的园子
react-native-amap3d
Commits
af952675
Commit
af952675
authored
Jul 06, 2017
by
Qiu Xiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整画图示例的颜色
parent
5d898940
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
circle.js
example/src/examples/circle.js
+2
-2
polygon.js
example/src/examples/polygon.js
+2
-2
polyline.js
example/src/examples/polyline.js
+1
-1
No files found.
example/src/examples/circle.js
View file @
af952675
...
@@ -11,8 +11,8 @@ export default class CircleExample extends Component {
...
@@ -11,8 +11,8 @@ export default class CircleExample extends Component {
return
<
MapView
style
=
{
StyleSheet
.
absoluteFill
}
>
return
<
MapView
style
=
{
StyleSheet
.
absoluteFill
}
>
<
Circle
<
Circle
strokeWidth
=
{
5
}
strokeWidth
=
{
5
}
strokeColor
=
'
blue
'
strokeColor
=
'
rgba(0, 0, 255, 0.5)
'
fillColor
=
'r
ed
'
fillColor
=
'r
gba(255, 0, 0, 0.5)
'
radius
=
{
10000
}
radius
=
{
10000
}
coordinate
=
{{
coordinate
=
{{
latitude
:
39.906901
,
latitude
:
39.906901
,
...
...
example/src/examples/polygon.js
View file @
af952675
...
@@ -11,8 +11,8 @@ export default class PolygonExample extends Component {
...
@@ -11,8 +11,8 @@ export default class PolygonExample extends Component {
return
<
MapView
style
=
{
StyleSheet
.
absoluteFill
}
>
return
<
MapView
style
=
{
StyleSheet
.
absoluteFill
}
>
<
Polygon
<
Polygon
strokeWidth
=
{
5
}
strokeWidth
=
{
5
}
strokeColor
=
'
blue
'
strokeColor
=
'
rgba(0, 0, 255, 0.5)
'
fillColor
=
'r
ed
'
fillColor
=
'r
gba(255, 0, 0, 0.5)
'
coordinates
=
{[
coordinates
=
{[
{
{
latitude
:
39.806901
,
latitude
:
39.806901
,
...
...
example/src/examples/polyline.js
View file @
af952675
...
@@ -11,7 +11,7 @@ export default class PolylineExample extends Component {
...
@@ -11,7 +11,7 @@ export default class PolylineExample extends Component {
return
<
MapView
style
=
{
StyleSheet
.
absoluteFill
}
>
return
<
MapView
style
=
{
StyleSheet
.
absoluteFill
}
>
<
Polyline
<
Polyline
width
=
{
5
}
width
=
{
5
}
color
=
'r
ed
'
color
=
'r
gba(255, 0, 0, 0.5)
'
coordinates
=
{[
coordinates
=
{[
{
{
latitude
:
40.006901
,
latitude
:
40.006901
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment