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
1f8d7464
Commit
1f8d7464
authored
Aug 27, 2017
by
7c00
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 MapView#distanceFilter 接口
Fix #37 Close #41
parent
19142683
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
MapView.js
components/maps/MapView.js
+7
-0
AMapViewManager.m
ios/AMapViewManager.m
+1
-0
No files found.
components/maps/MapView.js
View file @
1f8d7464
...
...
@@ -38,6 +38,13 @@ export default class MapView extends BaseComponent {
*/
locationInterval
:
PropTypes
.
number
,
/**
* 定位的最小更新距离
*
* @platform ios
*/
distanceFilter
:
PropTypes
.
number
,
/**
* 是否显示室内地图
*/
...
...
ios/AMapViewManager.m
View file @
1f8d7464
...
...
@@ -42,6 +42,7 @@ RCT_EXPORT_VIEW_PROPERTY(coordinate, CLLocationCoordinate2D)
RCT_EXPORT_VIEW_PROPERTY
(
limitRegion
,
MACoordinateRegion
)
RCT_EXPORT_VIEW_PROPERTY
(
tilt
,
CGFloat
)
RCT_EXPORT_VIEW_PROPERTY
(
rotation
,
CGFloat
)
RCT_EXPORT_VIEW_PROPERTY
(
distanceFilter
,
CLLocationDistance
)
RCT_EXPORT_VIEW_PROPERTY
(
onPress
,
RCTBubblingEventBlock
)
RCT_EXPORT_VIEW_PROPERTY
(
onLongPress
,
RCTBubblingEventBlock
)
...
...
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