文件名称: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
..........\专题图.doc