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
d4749e6d
Commit
d4749e6d
authored
Aug 07, 2017
by
Qiu Xiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化 infoWindowEnabled 接口
parent
38d7bbf7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
AMapMarker.kt
android/src/main/java/cn/qiuxiang/react/amap3d/AMapMarker.kt
+5
-0
Marker.js
components/Marker.js
+6
-1
No files found.
android/src/main/java/cn/qiuxiang/react/amap3d/AMapMarker.kt
View file @
d4749e6d
...
@@ -24,7 +24,12 @@ class AMapMarker(context: Context) : ReactViewGroup(context) {
...
@@ -24,7 +24,12 @@ class AMapMarker(context: Context) : ReactViewGroup(context) {
}
}
var
infoWindow
:
AMapOverlay
?
=
null
var
infoWindow
:
AMapOverlay
?
=
null
var
infoWindowEnabled
:
Boolean
=
true
var
infoWindowEnabled
:
Boolean
=
true
set
(
value
)
{
field
=
value
marker
?.
isInfoWindowEnable
=
value
}
var
marker
:
Marker
?
=
null
var
marker
:
Marker
?
=
null
private
set
private
set
...
...
components/Marker.js
View file @
d4749e6d
...
@@ -65,6 +65,11 @@ export default class Marker extends Component {
...
@@ -65,6 +65,11 @@ export default class Marker extends Component {
*/
*/
draggable
:
PropTypes
.
bool
,
draggable
:
PropTypes
.
bool
,
/**
* 是否可点击
*/
clickable
:
PropTypes
.
bool
,
/**
/**
* 是否平贴地图
* 是否平贴地图
*/
*/
...
@@ -81,7 +86,7 @@ export default class Marker extends Component {
...
@@ -81,7 +86,7 @@ export default class Marker extends Component {
active
:
PropTypes
.
bool
,
active
:
PropTypes
.
bool
,
/**
/**
* 是否启用信息窗体
,该属性只能开始时设置一次
* 是否启用信息窗体
*/
*/
infoWindowEnabled
:
PropTypes
.
bool
,
infoWindowEnabled
:
PropTypes
.
bool
,
...
...
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