android imobile 从服务器加载数据源代码如下
m_MapControl.getMap().setWorkspace(m_workspace);
DatasourceConnectionInfo _dsInfo = new DatasourceConnectionInfo();
_dsInfo.setServer(ServerConfig.URL_CHECK_SECTION);
_dsInfo.setEngineType(EngineType.Rest);
_dsInfo.setAlias("ChinaRest");
Datasource _ds = m_workspace.getDatasources().open(_dsInfo);
if (_ds != null) {
m_MapControl.getMap().getLayers().add(_ds.getDatasets().get(0), true);
m_MapControl.getMap().refresh();
hideLoading();
openWorkSpaceListener.onOpenSucceed();
int i = _ds.getDatasets().getCount();
LogUtils.i("地图总数....." + i);
LogUtils.i("访问服务成功.....");
return;
问题1:因为工作空间中有多张地图,我该如何选择加载其中一张地图呢