文件名称:map
介绍说明--下载内容来自于网络,使用问题请自行百度
.NET平台下专题地图实现的C#代码
private void 点密度图ToolStripMenuItem_Click(object sender, EventArgs e)
{
//获取当前图层 ,并把它设置成IGeoFeatureLayer的实例
IMap pMap = axMapControl1.Map
ILayer pLayer = pMap.get_Layer(0) as IFeatureLayer
IFeatureLayer pFeatureLayer = pLayer as IFeatureLayer
IGeoFeatureLayer pGeoFeatureLayer = pLayer as IGeoFeatureLayer
//获取图层上的feature
IFeatureClass pFeatureClass = pFeatureLayer.FeatureClass
IFeatureCursor pFeatureCursor = pFeatureClass.Search(null, false)
IFeature pFeature = pFeatureCursor.NextFeature()
-. NET platform for the realization of thematic maps of the C# Code private void point density map ToolStripMenuItem_Click (object sender, EventArgs e) (//obtain the current layer, and it set IGeoFeatureLayer examples IMap pMap = axMapControl1.Map ILayer pLayer = pMap . get_Layer (0) as IFeatureLayer IFeatureLayer pFeatureLayer = pLayer as IFeatureLayer IGeoFeatureLayer pGeoFeatureLayer = pLayer as IGeoFeatureLayer// access layer on the feature IFeatureClass pFeatureClass = pFeatureLayer.FeatureClass IFeatureCursor pFeatureCursor = pFeatureClass.Search (null, false) IFeature pFeature = pFeatureCursor.NextFeature ()
private void 点密度图ToolStripMenuItem_Click(object sender, EventArgs e)
{
//获取当前图层 ,并把它设置成IGeoFeatureLayer的实例
IMap pMap = axMapControl1.Map
ILayer pLayer = pMap.get_Layer(0) as IFeatureLayer
IFeatureLayer pFeatureLayer = pLayer as IFeatureLayer
IGeoFeatureLayer pGeoFeatureLayer = pLayer as IGeoFeatureLayer
//获取图层上的feature
IFeatureClass pFeatureClass = pFeatureLayer.FeatureClass
IFeatureCursor pFeatureCursor = pFeatureClass.Search(null, false)
IFeature pFeature = pFeatureCursor.NextFeature()
-. NET platform for the realization of thematic maps of the C# Code private void point density map ToolStripMenuItem_Click (object sender, EventArgs e) (//obtain the current layer, and it set IGeoFeatureLayer examples IMap pMap = axMapControl1.Map ILayer pLayer = pMap . get_Layer (0) as IFeatureLayer IFeatureLayer pFeatureLayer = pLayer as IFeatureLayer IGeoFeatureLayer pGeoFeatureLayer = pLayer as IGeoFeatureLayer// access layer on the feature IFeatureClass pFeatureClass = pFeatureLayer.FeatureClass IFeatureCursor pFeatureCursor = pFeatureClass.Search (null, false) IFeature pFeature = pFeatureCursor.NextFeature ()
(系统自动生成,下载前可以参看下载内容)
下载文件列表
专题图实现/专题图.doc
专题图实现
专题图实现
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.