單項(xiàng)選擇題百度地圖//聲明LocationClient類實(shí)例并配置定位參數(shù)()。

A.LocationClientOptionlocationOption=newLocationClientOptions();MyLocationListenermyLocationListener=newMyLocationListener();
B.LocationClientOptionlocationOption=newLocationClientOption();MyLocationListenermyLocationListener=newMyLocationListener();
C.LocationClientOptionlocationOption=newLocationClientOption();MyLocationListenermyLocationListener=newMyLocationListeners();
D.LocationClientOptionlocationOption=newLocationClientOption();MyLocationmyLocationListener=newMyLocationListener();


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題百度地圖//定位服務(wù)的客戶端。宿主程序在客戶端聲明此類,并調(diào)用,目前只支持在主線程中啟動()。

A.LocationClientlocationClient=newLocationClient(getfragmentContext())
B.LocationClientlocationClient=newLocationClient(getActiviytContext())
C.LocationClientlocationClient=newLocationClient(getContext())
D.LocationClientlocationClient=newLocationClient(getApplicationContext())

2.單項(xiàng)選擇題百度地圖//注冊監(jiān)聽函數(shù)()。

A.locationClient.registerLocationListener(myLocationListener);
B.locationClient.regsterLocationListener(myLocationListener);
C.locationClient.registerLocationListeners(myLocationListener);
D.locationClient.registerListener(myLocationListener);

3.單項(xiàng)選擇題百度地圖//可選,默認(rèn)高精度,設(shè)置定位模式,高精度,低功耗,僅設(shè)備()。

A.locationOption.setLocationModes(LocationMode.Hight_Accuracy);
B.locationOption.setLocation(LocationMode.Hight_Accuracy);
C.locationOption.getLocationMode(LocationMode.Hight_Accuracy);
D.locationOption.setLocationMode(LocationMode.Hight_Accuracy);

4.單項(xiàng)選擇題百度地圖//可選,默認(rèn)gcj02,設(shè)置返回的定位結(jié)果坐標(biāo)系,如果配合百度地圖使用,建議設(shè)置為bd09ll()。

A.locationOption.setCoorType(“gcj02”);
B.locationOption.setCorType(“gcj02”);
C.locationOption.setCoorTypes(“gcj02”);
D.locationOption.getCoorType(“gcj02”);

5.單項(xiàng)選擇題百度地圖//可選,默認(rèn)0,即僅定位一次,設(shè)置發(fā)起連續(xù)定位請求的間隔需要大于等于1000ms才是有效的()。

A.locationOption.setScanSpan(-1000)
B.locationOption.setScanSpan(1000)
C.locationOption.setScanSpan(888)
D.locationOption.setScanSpan(999)