获取定位
开启定位
/**
* 普通定位
* 定位结果回调到 onLocationChanged 方法中
*/
startLocationByYD()
开启防虚拟定位
/**
* 防虚拟定位
*
*/
startStrictLocationByYD()
定位数据回调
/**
* locationJSONObject: JSONObject 定位信息
*/
onLocationChanged(locationJSONObject)
回调数据(JSONObject)说明
{
"type": 1, //位置定位方式,GPS、WIFI等等
"timestamp": 1231231231, //unix时间戳 int64
"longitude": 12.4, //经度 float64
"latitude": 54.2, //纬度 float64
"typeName": "GPS定位", //定位方式
"accuracy": 1.0, //精确度 float32
"country": "", //国家,可选
"province": "", //省份,可选
"city": "", //城市,可选
"district": "", //区域,可选
"street": "", //街道,可选
"streetNum": "", //门牌号,可选
"cityCode": "", //城市编码,可选
"adCode": "", //地区编码,可选
"address": "" //地址,可选
}