第四章单元测试
  1. ESRI.ArcGIS.Mobile.MobileServices是哪个组件包模型( )。

  2. A:几何对象 B:地图对象 C:地图渲染 D:地图服务
    答案:地图渲染###地图服务
  3. ARCGIS Mobile加载缓存数据的方法包括( )。

  4. A:设置远程连接方式 B:设置远程服务器 C:执行MobileService的Open方法 D:设置缓存路径(CacheStoragePath)
  5. 设置地图全图的方法包括( )。

  6. A:this.map1.CurrentMapAction = this.zoomOutMapAction1; B:this.map1.SetExtent(this.map1.GetFullExtent()); C:for(int i= 0; i<this.map1.MapLayers.Count; i++) this.map1.MapLayers[i].Visible = true; D:this.map1.CurrentMapAction = this.zoomInMapAction1;
  7. 查询过滤条件“string whereClause =string.Format("{0}'{1}","CLASS=", this.textBox1.Text);”中"CLASS="表示属性值。( )

  8. A:对 B:错
  9. 获取选中要素的方法是( )。

  10. A:this selectionMapActionl.SelectionType= Selectionype.Envelope; B:IList<FeatureDataTable> selectedFeatureLayers = selectionMapAction1.SelectedFeatures; C:this.selectionMapAction1.GeometricRelationship = GeometricRelationshipType.Intersect; D:this.map1.CurrentMapAction= this.selectionMapActionl;
  11. 将新创建对象放到临时图层的方法是( )。

  12. A:Geometry m_geometry = sketchGraphicLayer1.Geometry; B:sketchGraphicLayer1.Geometry = new ESRI.ArcGIS.Mobile.Geometries.Point(); C:m_selectedFeatureLayer = m_selectedMobileServiceMapLayer.Layer as FeatureLayer; D:map1.CurrentMapAction = addVertexSketchTool1;
  13. Maplayer类型到FeatureLayer类型的转换实例?

  14. 把m_selectedFeatureLayer设置为selectionMapAction1的唯一可选图层?

  15. 把地图的当前行为设置为“新增节点”的事件响应代码( )。

  16. A:map1.CurrentMapAction = addVertexSketchTool1; B:mapl.CurrentMapAction=deleteVertexSketchTool; C:mapl.CurrentMapAction= moveVertexSketchTooll; D:mapl.CurrentMapAction= insertVertexSketchTooll;
  17. GPS定位功能中使用的主要对象类包括( )。

  18. A:GpsConnection; B:GpsDisplay; C:FileGpsConnection; D:SerialPortGpsConnection;
  19. “mobileService1.PostFeaturesAsync (null);”实现对于特定图层的远程数据更新。( )

  20. A:错 B:对

温馨提示支付 ¥3.00 元后可查看付费内容,请先翻页预览!
点赞(4) dxwkbang
返回
顶部