Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-winforms-map(同步融合 winforms 地图)

syncfusion-winforms-map 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

syncfusion-winforms-map 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 5,540。

总安装 652周安装 28GitHub Stars 公开资料未说明下载 228核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-winforms-map(同步融合 winforms 地图)
来源仓库:https://github.com/syncfusion/winforms-ui-components-skills
仓库路径:skills/syncfusion-winforms-map
安装命令:
npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-map
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-map

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

嵌入式地图控件,支持地理坐标显示与基本交互操作功能。典型应用于物流跟踪、区域统计或位置服务相关的桌面系统集成。技能集成第三方地图 API 封装层,简化坐标转换与图层管理复杂度。离线使用时需预置瓦片缓存,否则首次加载可能因网络延迟失败。隐私合规要求高的地区应审查地图数据来源是否符合本地法规。

来源仓库内路径:skills/syncfusion-winforms-map

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/winforms-ui-components-skills --ski…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

syncfusion-winforms-map 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfus…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-winforms-map 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-winforms-map 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

syncfusion-winforms-map 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-winforms-map 用的人多吗?

公开数据是累计安装 652 次,近一周安装 28 次,下载 228 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-winforms-map 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
syncfusion-winforms-map

同步融合 winforms 地图 · 本页

652—只读未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Implementing Maps in Windows Forms

The Syncfusion WinForms Maps control is a powerful geographical data visualization component that renders shape files and displays statistical information with interactive features like zooming, panning, tooltips, and selection.

When to Use This Skill

Use the Maps control when you need to:

  • Geographical Visualization: Display geographical data on world maps, country maps, or regional maps
  • Statistical Maps: Create choropleth maps showing statistical data by region (population, sales, demographics)
  • Bubble Maps: Visualize data using bubbles of varying sizes on map locations
  • Multi-Layer Maps: Combine multiple geographical layers (e.g., world map with highlighted regions)
  • Interactive Maps: Enable user interaction with tooltips, selection, zooming, and panning
  • Dashboard Integration: Add map visualizations to desktop dashboard applications
  • Location Analytics: Build applications that analyze and display location-based data

Component Overview

Key Features:

  • Shape file rendering (.shp,.dbf,.shx)
  • Multiple layer support with SubShapeFileLayers
  • Data binding with ItemSource
  • Bubble visualization with size and color mapping
  • Legend support with customizable positioning
  • Interactive features: tooltips, selection, zooming, panning
  • Annotations for custom markers
  • Extensive customization options for colors, strokes, and fills

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Assembly deployment and NuGet installation
  • Key concepts and map structure
  • Shape file description and requirements
  • Adding shape files as embedded resources
  • Uri property configuration
  • Creating your first map
  • Basic implementation example

Layers and Shape Files

📄 Read: references/layers.md

  • ShapeFileLayer architecture
  • Adding multiple layers (MultiLayer support)
  • SubShapeFileLayer usage
  • LayoutType configuration (Default vs Tile)
  • ItemSource data binding
  • ShapeIDPath and ShapeIDTableField mapping
  • Layer customization

Bubbles

📄 Read: references/bubbles.md

  • Adding bubbles to maps
  • BubbleSetting properties (AutoFillColors, MaxSize, MinSize)
  • ValuePath and ColorValuePath configuration
  • Range color mapping for bubbles
  • StrokeThickness and Fill customization
  • Bubble visualization examples

Legends

📄 Read: references/legends.md

  • Legend visibility (ShowLegend)
  • Legend positioning (Position, PositionX, PositionY)
  • Legend header and title
  • Legend categories (layers vs bubbles)
  • LegendType and LegendIcon
  • Legend shape customization

User Interaction

📄 Read: references/user-interaction.md

  • Tooltip support (ShowToolTip)
  • Single and multiple selection
  • EnableSelection and SelectionMode
  • SelectedShapeColor customization
  • Zooming with ZoomFactor and ZoomLevel
  • Panning and navigation
  • ShapeSelected event handling

Map Points

📄 Read: references/map-points.md

  • Point shape files and geometries
  • Loading point data layers
  • Point vs polygon vs polyline shapes
  • Styling point markers
  • Point data binding
  • Multiple point layers

Annotations

📄 Read: references/annotations.md

  • Adding custom annotations
  • Latitude and Longitude positioning
  • AnnotationDrawing event
  • Custom markers and icons
  • Annotation collections
  • Drawing custom graphics on maps

Customization

📄 Read: references/customization.md

  • Map appearance styling
  • Shape fill and stroke customization
  • Color value paths
  • FillSetting configuration
  • ColorMappings for ranges
  • Theme integration
  • Advanced styling techniques

Quick Start

Step 1: Install NuGet Package

Install-Package Syncfusion.Maps.WinForms

Step 2: Add Shape Files to Project

  1. Add shape files (e.g., world1.shp, world1.dbf, world1.shx) to your project
  2. Select files in Solution Explorer
  3. Set Build Action to Embedded Resource
  4. Set Copy to Output Directory to Copy if newer (optional)

Step 3: Basic Map Implementation

using System;
using System.Drawing;
using System.Windows.Forms;
using Syncfusion.Windows.Forms.Maps;

namespace WinFormsMapsExample
{
    public partial class Form1 : Form
    {
        private Maps mapsControl;

        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            // Create Maps control
            mapsControl = new Maps();
            mapsControl.Name = "mapsControl";
            mapsControl.Size = new Size(880, 585);
            mapsControl.Dock = DockStyle.Fill;
            mapsControl.MapBackgroundBrush = new SolidBrush(Color.White);

            // Create and configure shape layer
            ShapeFileLayer shapeLayer = new ShapeFileLayer();
            shapeLayer.Uri = "world1.shp";  // Shape file name

            // Add layer to map
            mapsControl.Layers.Add(shapeLayer);

            // Add control to form
            this.Controls.Add(mapsControl);
        }
    }
}

Common Patterns

Pattern 1: Data-Bound Map with Statistical Visualization

private void CreateDataBoundMap()
{
    // Prepare data
    MapViewModel model = new MapViewModel();

    // Create shape layer
    ShapeFileLayer shapeLayer = new ShapeFileLayer();
    shapeLayer.Uri = "world1.shp";

    // Bind data
    shapeLayer.ItemSource = model.Countries;
    shapeLayer.ShapeIDPath = "NAME";            // Property in data model
    shapeLayer.ShapeIDTableField = "NAME";      // Column in .dbf file

    // Configure shape display
    shapeLayer.ShapeSetting.ShapeValuePath = "Population";
    shapeLayer.ShapeSetting.ShapeColorValuePath = "Population";
    shapeLayer.ShapeSetting.ShapeDisplayValuePath = "NAME";

    // Style settings
    shapeLayer.ShapeSetting.ShapeFill = "#E5E5E5";
    shapeLayer.ShapeSetting.ShapeStroke = "#C1C1C1";
    shapeLayer.ShapeSetting.ShapeStrokeThickness = 1.5;

    // Enable features
    shapeLayer.ShowToolTip = true;
    shapeLayer.EnableSelection = true;

    mapsControl.Layers.Add(shapeLayer);
}

// Data Model
public class Country
{
    public string NAME { get; set; }
    public double Population { get; set; }
}

Pattern 2: Multi-Layer Map

private void CreateMultiLayerMap()
{
    // Base world layer
    ShapeFileLayer worldLayer = new ShapeFileLayer();
    worldLayer.Uri = "world1.shp";
    worldLayer.ShapeSetting.ShapeFill = "#E5E5E5";
    worldLayer.ShapeSetting.ShapeStroke = "#C1C1C1";
    worldLayer.ShapeSetting.ShapeStrokeThickness = 0.5;

    // Highlighted region 1
    SubShapeFileLayer africaLayer = new SubShapeFileLayer();
    africaLayer.Uri = "africa.shp";
    africaLayer.ShapeSetting.ShapeFill = "#8DCEFF";
    africaLayer.ShapeSetting.ShapeStroke = "#2F8CEA";
    africaLayer.ShapeSetting.ShapeStrokeThickness = 0.5;

    // Highlighted region 2
    SubShapeFileLayer australiaLayer = new SubShapeFileLayer();
    australiaLayer.Uri = "australia.shp";
    australiaLayer.ShapeSetting.ShapeFill = "#FFA07A";
    australiaLayer.ShapeSetting.ShapeStroke = "#FF6347";
    australiaLayer.ShapeSetting.ShapeStrokeThickness = 0.5;

    // Add sublayers to main layer
    worldLayer.SubShapeFileLayers.Add(africaLayer);
    worldLayer.SubShapeFileLayers.Add(australiaLayer);

    mapsControl.Layers.Add(worldLayer);
}

Pattern 3: Bubble Map with Color Ranges

private void CreateBubbleMap()
{
    ShapeFileLayer shapeLayer = new ShapeFileLayer();
    shapeLayer.Uri = "world1.shp";
    shapeLayer.ItemSource = GetCountries();
    shapeLayer.ShapeIDPath = "NAME";
    shapeLayer.ShapeIDTableField = "NAME";

    // Configure bubbles
    shapeLayer.BubbleSetting.AutoFillColors = false;
    shapeLayer.BubbleSetting.MaxSize = 70;
    shapeLayer.BubbleSetting.MinSize = 25;
    shapeLayer.BubbleSetting.ValuePath = "Population";
    shapeLayer.BubbleSetting.ColorValuePath = "Population";

    // Define color ranges
    shapeLayer.BubbleSetting.ColorMappings =
        new System.Collections.ObjectModel.ObservableCollection<ColorMapping>
        {
            new RangeColorMapping
            {
                From = 1000000000,
                To = 2000000000,
                Color = Color.FromArgb(127, 32, 188, 238)
            },
            new RangeColorMapping
            {
                From = 500000000,
                To = 1000000000,
                Color = Color.FromArgb(127, 167, 206, 56)
            },
            new RangeColorMapping
            {
                From = 100000000,
                To = 500000000,
                Color = Color.FromArgb(127, 241, 178, 26)
            },
            new RangeColorMapping
            {
                From = 0,
                To = 100000000,
                Color = Color.FromArgb(127, 235, 115, 124)
            }
        };

    mapsControl.Layers.Add(shapeLayer);
}

Pattern 4: Interactive Map with Events

private void CreateInteractiveMap()
{
    ShapeFileLayer shapeLayer = new ShapeFileLayer();
    shapeLayer.Uri = "world1.shp";
    shapeLayer.ItemSource = GetCountries();
    shapeLayer.ShapeIDPath = "Country";
    shapeLayer.ShapeIDTableField = "NAME";

    // Enable interaction
    shapeLayer.ShowToolTip = true;
    shapeLayer.EnableSelection = true;
    shapeLayer.SelectionMode = SelectionModes.Multiple;

    // Style selected shapes
    shapeLayer.ShapeSetting.SelectedShapeColor = Color.Orange;

    // Enable zooming
    mapsControl.ZoomFactor = 1.0f;
    mapsControl.ZoomLevel = 1;

    // Subscribe to events
    mapsControl.ShapeSelected += MapsControl_ShapeSelected;

    mapsControl.Layers.Add(shapeLayer);
}

private void MapsControl_ShapeSelected(object sender, ShapeSelectedEventArgs e)
{
    if (e.Data != null)
    {
        foreach (Country country in e.Data)
        {
            Console.WriteLine($"Selected: {country.Country}");
        }
    }
}

Key Properties

Maps Control Properties

PropertyTypeDescription
LayersLayerCollectionCollection of ShapeFileLayers
MapBackgroundBrushBrushBackground color of the map
MapItemsShapeMapItemShapesShape of map items (Circle, Diamond, etc.)
ZoomFactorfloatZoom level factor
ZoomLevelintZoom level multiplier
SelectedMapShapesCollectionCurrently selected shapes

ShapeFileLayer Properties

PropertyTypeDescription
UristringPath to shape file (.shp)
ItemSourceobjectData source for binding
ShapeIDPathstringProperty name in data model
ShapeIDTableFieldstringColumn name in.dbf file
ShowToolTipboolEnable/disable tooltips
EnableSelectionboolEnable/disable selection
SelectionModeSelectionModesSingle or Multiple selection
ShowLegendboolShow/hide legend
LayoutTypeLayoutTypeDefault or Tile layout
SubShapeFileLayersCollectionAdditional shape layers

ShapeSetting Properties

PropertyTypeDescription
ShapeFillstring/ColorFill color for shapes
ShapeStrokestring/ColorStroke color for shapes
ShapeStrokeThicknessdoubleBorder thickness
ShapeValuePathstringProperty for value binding
ShapeColorValuePathstringProperty for color mapping
SelectedShapeColorColorColor for selected shapes

BubbleSetting Properties

PropertyTypeDescription
AutoFillColorsboolAuto-generate bubble colors
MaxSizedoubleMaximum bubble size
MinSizedoubleMinimum bubble size
ValuePathstringProperty for bubble size
ColorValuePathstringProperty for bubble color
ColorMappingsCollectionRange-based color mappings

Common Use Cases

Use Case 1: Population Density Map

Display world population by country with color-coded regions based on population ranges.

Use Case 2: Sales Territory Map

Visualize sales data by region with bubbles representing sales volume and colors indicating performance tiers.

Use Case 3: Election Results Map

Show election results by state/province with color-coded winners and tooltips displaying vote counts.

Use Case 4: Regional Analytics Dashboard

Create a dashboard with multiple map layers showing different data dimensions (demographics, economic indicators, etc.).

Use Case 5: Location-Based Application

Build a desktop application that highlights specific locations with custom annotations and allows users to interact with map regions.

Troubleshooting

Issue: Shape files not loading

  • Verify files are added as Embedded Resources
  • Check that Uri matches the shape file name exactly
  • Ensure.dbf file is included with.shp file

Issue: Data not binding to shapes

  • Confirm ShapeIDPath matches property in data model
  • Verify ShapeIDTableField matches column in.dbf file
  • Check that values match exactly (case-sensitive)

Issue: Colors not displaying correctly

  • Set AutoFillColors = false when using ColorMappings
  • Ensure color ranges cover all data values
  • Verify ColorValuePath points to correct property

Issue: Selection not working

  • Set EnableSelection = true
  • Configure SelectionMode (Single or Multiple)
  • Ensure shapes have bound data for selection

平台分布

Codex

38.8%
按下载量换算88

Claude

31.06%
按下载量换算71

Cursor

17.9%
按下载量换算41

Gemini CLI

9.43%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills