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
2b8b18a5
Commit
2b8b18a5
authored
Aug 07, 2017
by
7c00
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 iOS Marker@clickable 接口
parent
d4749e6d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
AMapMarker.m
ios/AMapMarker.m
+4
-0
AMapMarkerManager.m
ios/AMapMarkerManager.m
+1
-0
No files found.
ios/AMapMarker.m
View file @
2b8b18a5
...
@@ -58,6 +58,10 @@
...
@@ -58,6 +58,10 @@
[
self
updateActive
];
[
self
updateActive
];
}
}
-
(
void
)
setClickable
:
(
BOOL
)
enabled
{
self
.
enabled
=
enabled
;
}
-
(
void
)
updateActive
{
-
(
void
)
updateActive
{
dispatch_async
(
dispatch_get_main_queue
(),
^
{
dispatch_async
(
dispatch_get_main_queue
(),
^
{
if
(
_active
)
{
if
(
_active
)
{
...
...
ios/AMapMarkerManager.m
View file @
2b8b18a5
...
@@ -20,6 +20,7 @@ RCT_EXPORT_VIEW_PROPERTY(title, NSString)
...
@@ -20,6 +20,7 @@ RCT_EXPORT_VIEW_PROPERTY(title, NSString)
RCT_EXPORT_VIEW_PROPERTY
(
description
,
NSString
)
RCT_EXPORT_VIEW_PROPERTY
(
description
,
NSString
)
RCT_EXPORT_VIEW_PROPERTY
(
active
,
BOOL
)
RCT_EXPORT_VIEW_PROPERTY
(
active
,
BOOL
)
RCT_EXPORT_VIEW_PROPERTY
(
draggable
,
BOOL
)
RCT_EXPORT_VIEW_PROPERTY
(
draggable
,
BOOL
)
RCT_EXPORT_VIEW_PROPERTY
(
clickable
,
BOOL
)
RCT_EXPORT_VIEW_PROPERTY
(
infoWindowEnabled
,
BOOL
)
RCT_EXPORT_VIEW_PROPERTY
(
infoWindowEnabled
,
BOOL
)
RCT_EXPORT_VIEW_PROPERTY
(
zIndex
,
NSInteger
)
RCT_EXPORT_VIEW_PROPERTY
(
zIndex
,
NSInteger
)
RCT_EXPORT_VIEW_PROPERTY
(
icon
,
MAPinAnnotationColor
)
RCT_EXPORT_VIEW_PROPERTY
(
icon
,
MAPinAnnotationColor
)
...
...
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