单项选择题
百度地图//定位服务的客户端。宿主程序在客户端声明此类,并调用,目前只支持在主线程中启动()。
A.LocationClientlocationClient=newLocationClient(getfragmentContext())
B.LocationClientlocationClient=newLocationClient(getActiviytContext())
C.LocationClientlocationClient=newLocationClient(getContext())
D.LocationClientlocationClient=newLocationClient(getApplicationContext())
相关考题
-
单项选择题
百度地图//注册监听函数()。
A.locationClient.registerLocationListener(myLocationListener);
B.locationClient.regsterLocationListener(myLocationListener);
C.locationClient.registerLocationListeners(myLocationListener);
D.locationClient.registerListener(myLocationListener); -
单项选择题
百度地图//可选,默认高精度,设置定位模式,高精度,低功耗,仅设备()。
A.locationOption.setLocationModes(LocationMode.Hight_Accuracy);
B.locationOption.setLocation(LocationMode.Hight_Accuracy);
C.locationOption.getLocationMode(LocationMode.Hight_Accuracy);
D.locationOption.setLocationMode(LocationMode.Hight_Accuracy); -
单项选择题
百度地图//可选,默认gcj02,设置返回的定位结果坐标系,如果配合百度地图使用,建议设置为bd09ll()。
A.locationOption.setCoorType(“gcj02”);
B.locationOption.setCorType(“gcj02”);
C.locationOption.setCoorTypes(“gcj02”);
D.locationOption.getCoorType(“gcj02”);
