Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-angular-maps(syncfusion Angular maps 命令行)

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

syncfusion-angular-maps 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 3,864。

总安装 1,082周安装 46GitHub Stars 公开资料未说明下载 379核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/angular-ui-components-skills --skill syncfusion-angular-maps

这个 Skill 是做什么的

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

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。适合围绕仓库状态和代码变更进行整理。通过 GitHub 仓库安装,支持主流宿主环境。使用前建议确认权限范围和维护状态。syncfusion-angular-maps 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

注意可能涉及联网和命令执行,需谨慎使用。

来源仓库内路径:skills/syncfusion-angular-maps

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-angular-maps 怎么安装?

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

syncfusion-angular-maps 支持哪些 AI 工具?

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

syncfusion-angular-maps 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

syncfusion-angular-maps 是免费的吗?

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

syncfusion-angular-maps 用的人多吗?

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

syncfusion-angular-maps 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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-angular-maps

syncfusion Angular maps 命令行 · 本页

1,082—接触敏感数据未明确有提醒

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

SKILL.md 原文

Implementing Syncfusion Angular Maps

Comprehensive guide for implementing the Syncfusion Angular Maps component to visualize geographical data with interactive features, multiple layers, and rich customization options.

When to Use This Skill

Use this skill when you need to:

  • Visualize geographical data - Display statistical data on world maps, country maps, regional maps, or custom geographic shapes
  • Create interactive maps - Build maps with zoom, pan, selection, highlighting, and tooltip interactions
  • Plot locations - Add markers, bubbles, or annotations to highlight specific geographic points
  • Display map layers - Work with multiple overlapping layers using GeoJSON data or map providers (Bing, OpenStreetMap, Azure)
  • Color-code regions - Apply color mapping based on data values for choropleth/heat map visualizations
  • Custom map visualizations - Create non-geographic visualizations like seat layouts, floor plans, or stadium maps
  • Navigation and routing - Draw navigation lines or routes between markers
  • Export and print maps - Generate printable or exportable map visualizations
  • Build dashboards - Integrate maps into Angular applications for business intelligence or analytics

Component Overview

The Syncfusion Angular Maps component (@syncfusion/ej2-angular-maps) is a powerful data visualization tool that renders geographical data using Scalable Vector Graphics (SVG). It supports:

  • Multiple layers and sublayers for complex visualizations
  • GeoJSON data binding for custom shapes and regions
  • Map providers (Bing Maps, OpenStreetMap, Azure Maps) as base layers
  • Six projection types (Mercator, Equirectangular, Miller, Eckert3, Eckert5, Eckert6, Winkel3, AitOff)
  • Rich visualization elements - markers, bubbles, data labels, legends, navigation lines, annotations
  • Interactive features - zooming, panning, tooltips, selection, highlighting
  • Responsive and accessible design with WCAG compliance

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

When implementing Maps for the first time or setting up a new Angular project:

  • Installing dependencies (@syncfusion/ej2-angular-maps package)
  • Setting up Angular environment and importing MapsModule
  • Creating first basic map with world map data
  • Understanding module injection for features (MarkerService, BubbleService, etc.)
  • Adding CSS themes and styling
  • Running the application

Layers and Data Binding

📄 Read: references/layers-and-data.md

For working with map layers, shape data, and data source binding:

  • Understanding layer structure and configuration
  • Loading GeoJSON shape data (shapeData property)
  • Binding external data sources (dataSource, shapeDataPath, shapePropertyPath)
  • Creating multiple layers and sublayers
  • Layer types (base layer vs sublayer)
  • Switching between layers (baseLayerIndex)
  • Rendering custom shapes for non-geographic visualizations
  • GeometryType options (Geographic vs Normal)

Markers

📄 Read: references/markers.md

For adding and customizing location markers:

  • Adding markers with latitude/longitude data
  • Marker shapes (Balloon, Circle, Cross, Diamond, Image, Rectangle, Star, Triangle)
  • Custom marker templates
  • Marker styling (size, color, border, opacity)
  • Dynamic markers with data binding
  • Marker clustering
  • Marker animations and transitions
  • Marker tooltips and events
  • Creating routes between markers

Data Visualization Features

📄 Read: references/data-visualization.md

For visualizing data with bubbles, colors, labels, and legends:

  • Bubbles - Size-based visualization for quantitative data
  • Color mapping - Range color mapping, equal color mapping, desaturation color mapping
  • Data labels - Displaying shape names or data values on the map
  • Legends - Adding legends for color mapping and bubbles
  • Navigation lines - Drawing lines between locations
  • Annotations - Adding custom HTML content at specific positions
  • Combining multiple visualization features

User Interactions

📄 Read: references/user-interactions.md

For implementing interactive map behaviors:

  • Zooming - Mouse wheel zoom, pinch zoom, double-click zoom, zoom toolbar
  • Panning - Mouse drag and touch panning
  • Tooltips - Layer tooltips, marker tooltips, bubble tooltips
  • Selection - Shape selection, marker selection, bubble selection
  • Highlighting - Hover highlight effects
  • Interactive legend - Clicking legend items to show/hide shapes
  • Event handling (click, hover, zoom, pan events)
  • Touch and mobile support

Map Providers

📄 Read: references/map-providers.md

For integrating external map services:

  • Overview of map provider support
  • Bing Maps integration and API key configuration
  • OpenStreetMap (OSM) integration
  • Azure Maps integration
  • Provider-specific features and limitations
  • Combining map providers with shape layers
  • URL templates and tile services
  • Zoom level configuration

Polygon Shapes

📄 Read: references/polygon-shapes.md

For drawing and customizing polygons:

  • Adding polygon overlays to maps
  • Polygon configuration and data structure
  • Styling polygons (fill, border, opacity)
  • Polygon events (click, hover)
  • Use cases (highlighting regions, boundaries, zones)
  • Dynamic polygon rendering

Customization and Styling

📄 Read: references/customization.md

For theming and visual customization:

  • Built-in themes (Material, Bootstrap, Fabric, Tailwind, etc.)
  • CSS customization and theme overrides
  • Shape styling (fill, border, color schemes)
  • Responsive design patterns
  • Map projections - Choosing and configuring projection types
  • Background customization (colors, images)
  • Title and subtitle styling
  • Border and margin configuration

Localization and Internationalization

📄 Read: references/localization.md

For globalizing map content:

  • Internationalization (i18n) setup
  • Localization (l10n) for different languages
  • Right-to-left (RTL) support
  • Number formatting for different locales
  • Currency formatting in tooltips/labels
  • Date and time formatting
  • Culture-specific rendering

Advanced Features

📄 Read: references/advanced-features.md

For advanced capabilities and APIs:

  • Print and Export - Printing maps, exporting to PNG/JPEG/SVG/PDF
  • State persistence - Saving and restoring map state
  • Public methods - Programmatic control (refresh, print, export, etc.)
  • Events reference - Complete list of available events
  • Creating routes - Drawing navigation routes between markers
  • Custom path rendering - Advanced path and line customization
  • Drilldown navigation - Creating hierarchical map navigation

Accessibility

📄 Read: references/accessibility.md

For accessible map implementations:

  • WCAG 2.1 compliance guidelines
  • Keyboard navigation support
  • ARIA attributes and roles
  • Screen reader compatibility
  • High contrast theme support
  • Focus indicators and management
  • Alternative text for shapes and markers

Quick Start

Installation

# Install the Maps package
npm install @syncfusion/ej2-angular-maps --save

Basic Implementation

import { Component } from '@angular/core';
import { MapsModule } from '@syncfusion/ej2-angular-maps';
import { world_map } from './world-map'; // GeoJSON data

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [MapsModule],
  template: `
    <ejs-maps id='maps-container'>
      <e-layers>
        <e-layer [shapeData]='shapeData'></e-layer>
      </e-layers>
    </ejs-maps>
  `
})
export class AppComponent {
  public shapeData: object = world_map;
}

With Data Binding and Color Mapping

import { Component } from '@angular/core';
import { MapsModule } from '@syncfusion/ej2-angular-maps';
import { world_map } from './world-map';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [MapsModule],
  template: `
    <ejs-maps id='maps-container'>
      <e-layers>
        <e-layer
          [shapeData]='shapeData'
          [dataSource]='dataSource'
          shapeDataPath='Country'
          shapePropertyPath='name'
          [shapeSettings]='shapeSettings'>
        </e-layer>
      </e-layers>
    </ejs-maps>
  `
})
export class AppComponent {
  public shapeData: object = world_map;

  public dataSource: object[] = [
    { Country: 'United States', Population: 331002651, Code: 'US' },
    { Country: 'India', Population: 1380004385, Code: 'IN' },
    { Country: 'China', Population: 1439323776, Code: 'CN' }
  ];

  public shapeSettings: object = {
    colorValuePath: 'Population',
    colorMapping: [
      { from: 0, to: 100000000, color: '#C5E8B7' },
      { from: 100000001, to: 500000000, color: '#5BC85A' },
      { from: 500000001, to: 2000000000, color: '#238B45' }
    ]
  };
}

Common Patterns

Pattern 1: Map with Markers and Tooltips

import { Component } from '@angular/core';
import { MapsModule, MarkerService, MapsTooltipService } from '@syncfusion/ej2-angular-maps';
import { world_map } from './world-map';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [MapsModule],
  providers: [MarkerService, MapsTooltipService],
  template: `
    <ejs-maps id='maps-container'>
      <e-layers>
        <e-layer
          [shapeData]='shapeData'
          [markerSettings]='markerSettings'>
        </e-layer>
      </e-layers>
    </ejs-maps>
  `
})
export class AppComponent {
  public shapeData: object = world_map;

  public markerSettings: object[] = [{
    visible: true,
    dataSource: [
      { latitude: 40.7128, longitude: -74.0060, name: 'New York' },
      { latitude: 51.5074, longitude: -0.1278, name: 'London' },
      { latitude: 35.6762, longitude: 139.6503, name: 'Tokyo' }
    ],
    shape: 'Circle',
    fill: '#FF6347',
    height: 15,
    width: 15,
    tooltipSettings: {
      visible: true,
      valuePath: 'name'
    }
  }];
}

Pattern 2: Interactive Map with Zoom and Legend

import { Component } from '@angular/core';
import { MapsModule, ZoomService, LegendService } from '@syncfusion/ej2-angular-maps';
import { world_map } from './world-map';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [MapsModule],
  providers: [ZoomService, LegendService],
  template: `
    <ejs-maps
      id='maps-container'
      [zoomSettings]='zoomSettings'
      [legendSettings]='legendSettings'>
      <e-layers>
        <e-layer
          [shapeData]='shapeData'
          [dataSource]='dataSource'
          shapeDataPath='Country'
          shapePropertyPath='name'
          [shapeSettings]='shapeSettings'>
        </e-layer>
      </e-layers>
    </ejs-maps>
  `
})
export class AppComponent {
  public shapeData: object = world_map;

  public dataSource: object[] = [
    { Country: 'United States', Category: 'High' },
    { Country: 'Canada', Category: 'Medium' },
    { Country: 'Mexico', Category: 'Low' }
  ];

  public shapeSettings: object = {
    colorValuePath: 'Category',
    colorMapping: [
      { value: 'High', color: '#E74C3C' },
      { value: 'Medium', color: '#F39C12' },
      { value: 'Low', color: '#27AE60' }
    ]
  };

  public zoomSettings: object = {
    enable: true,
    toolbars: ['Zoom', 'ZoomIn', 'ZoomOut', 'Pan', 'Reset']
  };

  public legendSettings: object = {
    visible: true,
    position: 'Bottom'
  };
}

Pattern 3: Multi-Layer Map with Sublayers

import { Component } from '@angular/core';
import { MapsModule } from '@syncfusion/ej2-angular-maps';
import { world_map } from './world-map';
import { usa_map } from './usa-map';
import { california } from './california';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [MapsModule],
  template: `
    <ejs-maps id='maps-container'>
      <e-layers>
        <!-- Base layer -->
        <e-layer
          [shapeData]='usaMap'
          [shapeSettings]='baseShapeSettings'>
        </e-layer>

        <!-- Sublayer highlighting California -->
        <e-layer
          type='SubLayer'
          [shapeData]='californiaMap'
          [shapeSettings]='sublayerShapeSettings'>
        </e-layer>
      </e-layers>
    </ejs-maps>
  `
})
export class AppComponent {
  public usaMap: object = usa_map;
  public californiaMap: object = california;

  public baseShapeSettings: object = {
    fill: '#E5E5E5',
    border: { color: '#000000', width: 0.5 }
  };

  public sublayerShapeSettings: object = {
    fill: '#FFD700',
    border: { color: '#FF6347', width: 2 }
  };
}

Key Configuration Options

Layer Settings

  • shapeData - GeoJSON data for shapes
  • dataSource - External data to bind
  • shapeDataPath - Field in dataSource identifying shape
  • shapePropertyPath - Field in shapeData matching dataSource
  • shapeSettings - Visual styling for shapes
  • type - Layer type ('Layer' or 'SubLayer')

Shape Settings

  • fill - Shape fill color
  • border - Border configuration (color, width, opacity)
  • colorValuePath - Data field for color mapping
  • colorMapping - Array of color ranges or values
  • autofill - Auto-generate colors for shapes

Marker Settings

  • visible - Show/hide markers
  • dataSource - Marker data with latitude/longitude
  • shape - Marker shape type
  • height / width - Marker dimensions
  • template - Custom HTML template
  • tooltipSettings - Marker tooltip configuration

Zoom Settings

  • enable - Enable/disable zooming
  • zoomFactor - Initial zoom level
  • maxZoom / minZoom - Zoom limits
  • toolbars - Zoom control buttons
  • mouseWheelZoom - Enable mouse wheel zooming
  • pinchZooming - Enable touch pinch zoom

Legend Settings

  • visible - Show/hide legend
  • position - Legend placement (Top, Bottom, Left, Right)
  • mode - Legend mode ('Default', 'Interactive')
  • type - Legend type ('Layers', 'Bubbles', 'Markers')

Common Use Cases

Use Case 1: Sales Dashboard by Region

Create choropleth maps showing sales data across countries or states with color-coded regions, interactive tooltips, and legends. Useful for business intelligence dashboards.

Use Case 2: Store Locator Map

Display store locations with custom marker icons, clustering for dense areas, and tooltips showing store details. Integrate with map providers for street-level detail.

Use Case 3: Election Results Visualization

Show election results across districts/states using color mapping, with drilldown capability to explore detailed regional data.

Use Case 4: Real-time Tracking Dashboard

Plot vehicle, shipment, or asset locations with animated markers, navigation lines showing routes, and real-time data updates.

Use Case 5: Weather or Environmental Data

Visualize temperature, rainfall, air quality, or other environmental metrics using color gradients and data labels on geographic regions.

Use Case 6: COVID-19 or Disease Spread Tracking

Display case counts, vaccination rates, or infection rates by region using bubble sizes and color intensity.

Use Case 7: Flight Route Visualization

Show flight paths between cities using navigation lines, with markers for airports and interactive selection.

Use Case 8: Custom Seating Layouts

Use custom GeoJSON shapes for non-geographic visualizations like seat selection in theaters, stadiums, or transportation.

Module Injection Requirements

The Maps component uses feature-specific services that must be injected:

import {
  MapsModule,
  MarkerService,          // For markers
  BubbleService,          // For bubbles
  DataLabelService,       // For data labels
  LegendService,          // For legends
  MapsTooltipService,     // For tooltips
  ZoomService,            // For zoom and pan
  SelectionService,       // For selection
  HighlightService,       // For highlighting
  NavigationLineService,  // For navigation lines
  AnnotationsService,     // For annotations
  PolygonService          // For polygons
} from '@syncfusion/ej2-angular-maps';

@Component({
  providers: [
    MarkerService,
    LegendService,
    MapsTooltipService,
    ZoomService
    // Add only the services you need
  ]
})

API Reference Documentation

Complete API Catalog

📘 Full API Reference Guide - Comprehensive documentation of all Maps APIs

Quick API Links by Category

Core Component
Layer Configuration
Markers & Bubbles
User Interactions
Customization
Key Events (25+ Total)
Enumerations
Event Interfaces

Context-Specific API References

Each reference guide includes relevant API tables:


Next Steps

  1. Start with getting-started.md to set up your first map
  2. Explore layers-and-data.md to understand data binding
  3. Add markers.md to plot locations
  4. Implement user-interactions.md for zoom, pan, and tooltips
  5. Review customization.md for styling and themes
  6. Check accessibility.md to ensure WCAG compliance

Package: @syncfusion/ej2-angular-maps Documentation: Syncfusion Angular Maps Documentation Demos: Syncfusion Angular Maps Demos

平台分布

Claude

34.13%
按下载量换算129

Codex

33.3%
按下载量换算126

Cursor

19.55%
按下载量换算74

Gemini CLI

10.16%
按下载量换算39

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills