• 大小: 40.36MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-05
  • 语言: 其他
  • 标签: 地图着色  Supermap  C#  

资源简介

根据所选的项目区域,获取项目区域图层。 在Form窗体中,可通过下拉框选择显示的图层。 然后,在Panel中重新加载截取后的图层,并为之着色。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using SuperMap.Desktop;

namespace ColoringMapExample
{
    public class DesktopPlugin : Plugin
    {
        public DesktopPlugin(PluginInfo pluginInfo)
            : base(pluginInfo)
        {

        }

        public override Boolean Initialize()
        {
            return true;
        }

        public override Boolean ExitInstance()
        {
            return true;
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-02-22 17:20  ColoringMapExample\
     目录           0  2019-01-21 09:16  ColoringMapExample\.vs\
     目录           0  2019-01-21 09:16  ColoringMapExample\.vs\ColoringMapExample\
     目录           0  2019-01-21 09:16  ColoringMapExample\.vs\ColoringMapExample\v14\
     文件       84480  2019-02-22 17:44  ColoringMapExample\.vs\ColoringMapExample\v14\.suo
     目录           0  2019-01-23 15:02  ColoringMapExample\ColoringMapExample\
     文件        2042  2019-01-21 17:55  ColoringMapExample\ColoringMapExample.sln
     目录           0  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\$SuperMapDesktopHome$\
     目录           0  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\$SuperMapDesktopHome$\Bin\
     目录           0  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\$SuperMapDesktopHome$\Bin\Plugins\
     目录           0  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\$SuperMapDesktopHome$\Bin\Plugins\ColoringMapExample\
     文件        3420  2019-01-23 15:02  ColoringMapExample\ColoringMapExample\ColoringMapExample.config
     文件        4668  2019-01-23 14:47  ColoringMapExample\ColoringMapExample\ColoringMapExample.csproj
     文件         632  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\ColoringMapExample.csproj.user
     文件         520  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\DesktopPlugin.cs
     文件         874  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\MyControl.cs
     文件        1473  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\MyControl.Designer.cs
     文件        5817  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\MyControl.resx
     文件        1042  2019-01-23 14:24  ColoringMapExample\ColoringMapExample\MyCtrlAction.cs
     文件        1094  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\MyCtrlActionCheckBox.cs
     文件         684  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\MyCtrlActionColorButton.cs
     文件         639  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\MyCtrlActionComboBox.cs
     文件         631  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\MyCtrlActionNum.cs
     文件         613  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\MyCtrlActionTextBox.cs
     目录           0  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\obj\
     目录           0  2019-01-21 09:16  ColoringMapExample\ColoringMapExample\obj\X86\
     目录           0  2019-02-22 17:32  ColoringMapExample\ColoringMapExample\obj\X86\Debug\
     文件         779  2019-02-22 16:02  ColoringMapExample\ColoringMapExample\obj\X86\Debug\ColoringMapExample.csproj.FileListAbsolute.txt
     文件         943  2019-01-22 17:11  ColoringMapExample\ColoringMapExample\obj\X86\Debug\ColoringMapExample.csproj.GenerateResource.Cache
     文件      279040  2019-02-22 17:32  ColoringMapExample\ColoringMapExample\obj\X86\Debug\ColoringMapExample.csprojResolveAssemblyReference.cache
     文件        8192  2019-02-22 17:32  ColoringMapExample\ColoringMapExample\obj\X86\Debug\ColoringMapExample.dll
............此处省略128个文件信息

评论

共有 条评论