3S基础知识:MapX应用教程—专题图

来源:互联网 发布:jmeter post请求 json 编辑:程序博客网 时间:2024/05/19 04:02

  专题图

  6种专题图:除独立值专题图绑定的字段类型可以是字符的以外,都必须是数字类型。与其他数据源绑定时,使用ODBC 调用ThemeDlg对话框可以让用户自己定义专题图。示例:

  For Each ftr In lyr.Selection

  ' The children of the layer are the individual

  ' features

  Set ftrNode = QueryTree.Nodes.Add(lyrNode, tvwChild,lyr.Name _

  & ftr.Name & Str$(ftr.FeatureID), ftr.Name)

  For Each fld In ds.Fields

  ' Each feature has data attached to it; add this data as a child of the feature

  lyr.KeyField = fld.Name

  QueryTree.Nodes.Add ftrNode, tvwChild, , lyr.KeyField _

  & ": " & ftr.KeyValue

  Next

  Next

阅读全文
0 0