/syncfusion-winforms:syncfusion-winforms-mapfrom Syncfusion WinForms Controls
Implementation guide for Syncfusion WinForms Maps control - a geographical data visualization component that displays statistical and regional data using shape files, bubbles, markers, and interactive features. Use this when working with WinForms Maps, geographical maps in Windows Forms, shape file visualization, choropleth maps, or bubble maps. This skill covers map layers, zooming/panning, geographical data binding, ESRI shape files, and building location-based desktop applications with interactive maps.
Ships in Syncfusion WinForms Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
Use the Maps control when you need to:
Key Features:
📄 Read: references/getting-started.md
📄 Read: references/layers.md
📄 Read: references/bubbles.md
📄 Read: references/legends.md
📄 Read: references/user-interaction.md
📄 Read: references/map-points.md
📄 Read: references/annotations.md
📄 Read: references/customization.md
Install-Package Syncfusion.Maps.WinForms
world1.shp, world1.dbf, world1.shx) to your projectusing 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);
}
}
}
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; }
}
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);
}
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);
}
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}");
}
}
}
| Property | Type | Description |
|---|---|---|
Layers | LayerCollection | Collection of ShapeFileLayers |
MapBackgroundBrush | Brush | Background color of the map |
MapItemsShape | MapItemShapes | Shape of map items (Circle, Diamond, etc.) |
ZoomFactor | float | Zoom level factor |
ZoomLevel | int | Zoom level multiplier |
SelectedMapShapes | Collection | Currently selected shapes |
| Property | Type | Description |
|---|---|---|
Uri | string | Path to shape file (.shp) |
ItemSource | object | Data source for binding |
ShapeIDPath | string | Property name in data model |
ShapeIDTableField | string | Column name in .dbf file |
ShowToolTip | bool | Enable/disable tooltips |
EnableSelection | bool | Enable/disable selection |
SelectionMode | SelectionModes | Single or Multiple selection |
ShowLegend | bool | Show/hide legend |
LayoutType | LayoutType | Default or Tile layout |
SubShapeFileLayers | Collection | Additional shape layers |
| Property | Type | Description |
|---|---|---|
ShapeFill | string/Color | Fill color for shapes |
ShapeStroke | string/Color | Stroke color for shapes |
ShapeStrokeThickness | double | Border thickness |
ShapeValuePath | string | Property for value binding |
ShapeColorValuePath | string | Property for color mapping |
SelectedShapeColor | Color | Color for selected shapes |
| Property | Type | Description |
|---|---|---|
AutoFillColors | bool | Auto-generate bubble colors |
MaxSize | double | Maximum bubble size |
MinSize | double | Minimum bubble size |
ValuePath | string | Property for bubble size |
ColorValuePath | string | Property for bubble color |
ColorMappings | Collection | Range-based color mappings |
Display world population by country with color-coded regions based on population ranges.
Visualize sales data by region with bubbles representing sales volume and colors indicating performance tiers.
Show election results by state/province with color-coded winners and tooltips displaying vote counts.
Create a dashboard with multiple map layers showing different data dimensions (demographics, economic indicators, etc.).
Build a desktop application that highlights specific locations with custom annotations and allows users to interact with map regions.
Issue: Shape files not loading
Issue: Data not binding to shapes
Issue: Colors not displaying correctly
AutoFillColors = false when using ColorMappingsIssue: Selection not working
EnableSelection = trueSelectionMode (Single or Multiple)references/annotations.md (opens in a new tab)references/bubbles.md (opens in a new tab)references/customization.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/layers.md (opens in a new tab)references/legends.md (opens in a new tab)references/map-points.md (opens in a new tab)references/user-interaction.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winformsOther plugins' skills for the same job
113 skills in this plugin
/syncfusion-winforms-ai-assistviewGuide for implementing Syncfusion Windows Forms AI AssistView (SfAIAssistView) for building conversational AI interfaces in desktop applications. Use this when creating chat interfaces, AI assistants, or chatbots with Windows Forms. Supports OpenAI and Azure OpenAI integration, typing indicators, chat suggestions, message bubbles, custom views, input toolbar with attachments, response toolbar actions, and stop responding for interactive messaging experiences./syncfusion-winforms-autocompleteGuides implementation of the Syncfusion WinForms AutoComplete control for text input with auto-suggestion functionality. Use when users want to add autocomplete textboxes, implement auto-suggestion features, create search boxes with suggestions, enable URL/email autocomplete, or build type-ahead search functionality in Windows desktop applications. Covers data binding, customization, filtering, multi-column dropdowns, events, and all AutoComplete-specific features./syncfusion-winforms-autolabelGuides implementation of the Syncfusion WinForms AutoLabel control for automatic label positioning with form controls. Use when users want to add labels that automatically reposition when controls move, create form layouts with paired label-control units, implement complex form designs with FlowLayout, or ensure labels stay synchronized with their associated controls. Covers labeling controls, positioning, spacing, size settings, theming, and events.