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
f42f20b1
Commit
f42f20b1
authored
Aug 19, 2017
by
Qiu Xiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除自定义颜色 marker
parent
6201ae3d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
marker.png
example/images/marker.png
+0
-0
marker.js
example/src/examples/marker.js
+0
-15
No files found.
example/images/marker.png
deleted
100644 → 0
View file @
6201ae3d
683 Bytes
example/src/examples/marker.js
View file @
f42f20b1
...
...
@@ -43,13 +43,6 @@ export default class MarkerExample extends Component {
<
Text
style
=
{
styles
.
markerText
}
>
{
this
.
state
.
time
.
toLocaleTimeString
()}
<
/Text
>
<
/View
>
_renderColoredMarker
=
()
=>
<
View
style
=
{
styles
.
customIcon
}
>
<
Image
style
=
{[
styles
.
customIcon
,
styles
.
coloredImage
]}
source
=
{
require
(
'../../images/marker.png'
)}
/
>
<
/View
>
_renderImageMarker
=
()
=>
<
View
style
=
{
styles
.
customIcon
}
>
<
Image
style
=
{
styles
.
customIcon
}
source
=
{
require
(
'../../images/flag.png'
)}
/
>
...
...
@@ -90,14 +83,6 @@ export default class MarkerExample extends Component {
longitude
:
116.397972
,
}}
/
>
<
Marker
icon
=
{
this
.
_renderColoredMarker
}
title
=
'自定义颜色'
coordinate
=
{{
latitude
:
39.806901
,
longitude
:
116.457972
,
}}
/
>
<
Marker
title
=
'Custom View Marker'
icon
=
{
this
.
_renderCustomMarker
}
...
...
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