地图定位信息

最后更新: 2020/10/21

方法介绍:

方法名

参数

JS类型

Java类型

必填

参数说明

方法说明

最低版本

支持平台

豹小秘

豹大/花瓶

豹小秘 Mini

getMapName

callbackld

number

Int

yes

commandListener的id,如果不需要处理事件,传-1

获取当前地图名称

1.0.0

getPlaceList

获取当前地图所有位置点的名称和坐标

1.0.0

getPlaceListWithName

callbackld

number

Int

yes

commandListener的id,如果不需要处理事件,传-1

获取当前地图所有位置点的名称

1.0.0

getPlace

callbackld

number

Int

yes

commandListener的id,如果不需要处理事件,传-1

获取指定点的坐标

1.0.0

param

string

String

yes

指定点的名称

getAskWayList

获取地图上的所有点的列表

1.0.0

getPosition

获取机器人当前坐标点 

1.0.0

scoreRecordingTask

callbackld

number

Int

yes

commandListener的id

上传导览轨迹

1.24.0

params

string

String

yes

上传导览轨迹参数

checkIfHasObstacle

callbackld

number

Int

yes

ommandListener的id

检测周围是否有障碍物

1.4.0

startAngle

number

Double

yes

起始角度

endAngle

number

Double

yes

结束角度

distance

number

Double

yes

检测距离