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
633d5e78
Commit
633d5e78
authored
Aug 21, 2017
by
7c00
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除 android Navigation#onReady 事件
parent
8445e74f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
AMapNavigation.kt
.../src/main/java/cn/qiuxiang/react/amap3d/AMapNavigation.kt
+0
-1
AMapNavigationManager.kt
...in/java/cn/qiuxiang/react/amap3d/AMapNavigationManager.kt
+0
-1
No files found.
android/src/main/java/cn/qiuxiang/react/amap3d/AMapNavigation.kt
View file @
633d5e78
...
@@ -72,7 +72,6 @@ class AMapNavigation(context: ThemedReactContext) :
...
@@ -72,7 +72,6 @@ class AMapNavigation(context: ThemedReactContext) :
}
}
override
fun
onInitNaviSuccess
()
{
override
fun
onInitNaviSuccess
()
{
sendEvent
(
"onReady"
)
}
}
override
fun
onServiceAreaUpdate
(
p0
:
Array
<
out
AMapServiceAreaInfo
>?)
{
override
fun
onServiceAreaUpdate
(
p0
:
Array
<
out
AMapServiceAreaInfo
>?)
{
...
...
android/src/main/java/cn/qiuxiang/react/amap3d/AMapNavigationManager.kt
View file @
633d5e78
...
@@ -45,7 +45,6 @@ class AMapNavigationManager : ViewGroupManager<AMapNavigation>() {
...
@@ -45,7 +45,6 @@ class AMapNavigationManager : ViewGroupManager<AMapNavigation>() {
override
fun
getExportedCustomDirectEventTypeConstants
():
Map
<
String
,
Any
>
{
override
fun
getExportedCustomDirectEventTypeConstants
():
Map
<
String
,
Any
>
{
return
mapOf
(
return
mapOf
(
"onReady"
to
mapOf
(
"registrationName"
to
"onReady"
),
"onCalculateRouteSuccess"
to
mapOf
(
"registrationName"
to
"onCalculateRouteSuccess"
),
"onCalculateRouteSuccess"
to
mapOf
(
"registrationName"
to
"onCalculateRouteSuccess"
),
"onCalculateRouteFailure"
to
mapOf
(
"registrationName"
to
"onCalculateRouteFailure"
)
"onCalculateRouteFailure"
to
mapOf
(
"registrationName"
to
"onCalculateRouteFailure"
)
)
)
...
...
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