Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-flutter-maps(syncfusion Flutter maps 命令行)

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

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

总安装 588周安装 25GitHub Stars 1下载 206核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

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

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理。通过 npx skills add 命令从指定 GitHub 仓库安装使用。

安装前建议确认权限范围、维护状态及是否触发联网或文件读写操作。syncfusion-flutter-maps 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-flutter-maps 怎么安装?

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

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

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

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

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

syncfusion-flutter-maps 是免费的吗?

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

syncfusion-flutter-maps 用的人多吗?

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

syncfusion-flutter-maps 安全吗?

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

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

值得选的地方

  • 同时适配 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-flutter-maps

syncfusion Flutter maps 命令行 · 本页

5881需要联网未明确有提醒

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

SKILL.md 原文

Syncfusion Flutter Maps

This skill covers the Syncfusion Flutter Maps (SfMaps) widget for displaying and visualizing geographical and spatial data. The widget supports two primary layer types: MapShapeLayer (for GeoJSON-based shape rendering) and MapTileLayer (for web map tile services like OpenStreetMap and Bing Maps).

When to Use This Skill

Use this skill when you need to:

  • Display interactive maps with zoom, pan, and selection capabilities
  • Visualize geographical data using shapes, colors, and bubbles
  • Render GeoJSON data as maps (countries, states, regions, custom shapes)
  • Integrate tile-based maps from providers.
  • Add markers to maps for locations, points of interest, or custom coordinates
  • Create choropleth maps with color-coded regions based on data values
  • Build bubble maps showing data through size and color variations
  • Display data labels and legends for map interpretation
  • Implement tooltips for shapes, bubbles, and markers
  • Enable map interactions including selection, zoom, pan, and navigation
  • Add vector layers (arcs, circles, lines, polygons, polylines) for custom overlays
  • Visualize spatial relationships with sublayers and hierarchical data
  • Create location-based applications with coordinate mapping

Component Overview

The SfMaps widget is a comprehensive mapping solution for Flutter that supports two primary layer types:

MapShapeLayer - GeoJSON-based shape rendering for statistical and geographical data visualization. Features include choropleth maps with color/range mapping, bubble visualizations, data labels, shape selection, legends, tooltips, sublayers for hierarchical data, vector layers (arcs, circles, lines, polygons, polylines), markers, zoom and pan gestures, and offline support. Ideal for election maps, sales territories, census data, and region-based analytics.

MapTileLayer - Web map tile service integration for OpenStreetMap, Bing Maps, Google Maps, and TomTom. Features include real-world street maps with detailed geography, markers for location pins, sublayers, vector layers, zoom and pan with configurable levels, initial focal point and zoom, and WMTS URL templates. Requires internet connectivity. Perfect for store locators, delivery tracking, and navigation apps.

Both layer types support markers (built-in symbols and custom widgets), zoom/pan behavior with pinch/mouse wheel/double-tap gestures, vector layer overlays, accessibility features, RTL support, and theming through SfMapsTheme.

Choosing the Right Layer Type

Use MapShapeLayer when:

  • You have GeoJSON data defining geographical shapes
  • You need choropleth maps (color-coded by region/country)
  • Your data is statistical and tied to geographical boundaries
  • You want complete control over shape appearance and data binding
  • You need offline maps that don't require external tile services
  • Custom shapes or specific regions need to be highlighted
  • Building: election maps, sales territory maps, census data visualizations, region comparisons

Use MapTileLayer when:

  • You need real-world street maps from providers like OpenStreetMap
  • Your app requires detailed geographical features (roads, landmarks, terrain)
  • Online connectivity is available for tile loading
  • You want standard map views without custom data rendering
  • Street-level detail or satellite imagery is needed
  • You need to show precise locations on familiar map backgrounds
  • Building: store locators, delivery tracking, navigation apps, location pickers

Key Differences Summary:

FeatureMapShapeLayerMapTileLayer
Data SourceGeoJSON filesWeb tile services (URLs)
Offline Support✅ Yes (embedded GeoJSON)❌ Requires internet
Data Binding✅ Full support❌ Limited to markers
Choropleth Maps✅ Yes❌ No
Bubble Visualization✅ Yes❌ No
Data Labels✅ Yes❌ No
Shape Selection✅ Yes❌ No
Color Mapping✅ Yes❌ No
Legend✅ Yes❌ No
Markers✅ Yes✅ Yes
Zoom & Pan✅ Yes✅ Yes
Street Maps❌ No✅ Yes
Sublayers✅ Yes✅ Yes
Vector Layers✅ Yes (arc, circle, line, etc.)✅ Yes (arc, circle, line, etc.)
Tooltips✅ Yes (shapes & bubbles)❌ Limited
Real-world Detail❌ Limited✅ High detail

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

When to read: First-time setup, installation, basic map creation

Topics covered:

  • Installation and package setup
  • Basic MapShapeLayer implementation
  • Basic MapTileLayer implementation
  • Loading GeoJSON data (asset, network, memory)
  • OpenStreetMap quick start
  • Package dependencies and imports

Layer Overview

Shape Layer

📄 Read: references/shape-layer.md

When to read: Working with vector maps, GeoJSON data, choropleth maps, data binding

Topics covered:

  • MapShapeLayer widget overview and features
  • GeoJSON data source configuration
  • Shape data field mapping
  • Shape appearance (color, stroke)
  • Loading progress indicator
  • Basic shape rendering
  • Color mapping strategies
Tile Layer

📄 Read: references/tile-layer.md

When to read: Integrating OpenStreetMap, Bing Maps, or other tile providers

Topics covered:

  • MapTileLayer widget overview and features
  • URL template format (WMTS specification)
  • OpenStreetMap integration
  • Bing Maps setup and API keys
  • Other providers (TomTom, MapBox, Google Maps)
  • Initial focal point configuration
  • Initial zoom level setup

Markers

📄 Read: references/markers.md

When to read: Adding location markers, pins, or custom markers to maps

Topics covered:

  • Adding markers to both layer types
  • Built-in marker symbols (circle, diamond, triangle, etc.)
  • Custom marker widgets
  • Marker positioning (latitude/longitude)
  • Marker appearance customization
  • Dynamic marker management (add/update/remove)
  • Marker controllers (MapShapeLayerController/MapTileLayerController)
  • Marker alignment and offset
  • Zoom markers to fit bounds

Data Visualization Features (Shape Layer)

Data Labels

📄 Read: references/data-labels.md

When to read: Displaying text labels on map shapes

Topics covered:

  • Showing data labels on shapes
  • Data label mapper configuration
  • Label text customization
  • Label trimming and overflow handling
  • Label styling and positioning
  • Smart label behavior
Legends

📄 Read: references/legend.md

When to read: Adding legends for shapes or bubbles

Topics covered:

  • Legend configuration and positioning
  • Legend for shape colors
  • Legend for bubbles
  • Legend customization (icons, text, layout)
  • Legend toggling feature
  • Legend interactions
  • Text style configuration
Tooltips

📄 Read: references/tooltip.md

When to read: Adding interactive tooltips to map elements

Topics covered:

  • Shape tooltips with builders
  • Bubble tooltips
  • Marker tooltips
  • Tooltip customization
  • Tooltip styling and positioning
  • Tooltip settings (color, stroke, padding)
Bubbles

📄 Read: references/bubble.md

When to read: Visualizing data with size/color-coded bubbles on shapes

Topics covered:

  • Bubble visualization overview
  • Bubble size mapping based on data
  • Bubble color mapping
  • Bubble appearance customization
  • Bubble tooltips
  • Use cases for bubble maps

Color and Data Mapping

📄 Read: references/color-mapping.md

When to read: Mapping data values to colors for shapes or bubbles

Topics covered:

  • Equal color mapping (discrete values)
  • Range color mapping (continuous ranges)
  • Shape color value mapper
  • Bubble color value mapper
  • Color mappers configuration
  • Opacity settings (min/max)
  • Returning colors directly vs using mappers
  • Color mapping patterns

Selection and Interaction Features

Selection

📄 Read: references/selection.md

When to read: Enabling shape selection and handling user interactions

Topics covered:

  • Shape selection feature
  • Selection callbacks
  • Selection styling and decoration
  • Single vs multi-selection
  • Programmatic selection
  • Toggling selection
  • Selection events and handlers
Zoom and Pan

📄 Read: references/zoom-pan.md

When to read: Enabling zoom, pan, and navigation features

Topics covered:

  • MapZoomPanBehavior configuration
  • Pinch zoom (mobile)
  • Mouse wheel zoom (desktop)
  • Zoom toolbar (web platform)
  • Double-tap zoom
  • Zoom level configuration
  • Pan behavior and restrictions
  • Focal latitude/longitude bounds
  • Zoom callbacks and events

Advanced Features

Vector Layers

📄 Read: references/vector-layers.md

When to read: Adding additional vector overlays to maps

Topics covered:

  • MapArcLayer (arcs between two coordinates)
  • MapCircleLayer (circles at specific coordinates)
  • MapLineLayer (lines connecting coordinates)
  • MapPolygonLayer (polygon shapes)
  • MapPolylineLayer (connected line segments)
  • Vector layer styling and customization
  • Use cases for each vector type
Sublayers

📄 Read: references/shape-sublayer.md

When to read: Adding multiple layers and hierarchical data visualization

Topics covered:

  • Adding sublayers to MapShapeLayer
  • Sublayer configuration and nesting
  • Sublayer markers and bubbles
  • Hierarchical data visualization
  • Use cases for sublayers
  • Layer ordering and z-index

Customization and Theming

Customization

📄 Read: references/customization.md

When to read: Customizing map appearance and styling

Topics covered:

  • SfMapsTheme integration
  • Visual appearance customization
  • Shape styling (colors, borders)
  • Hover effects (web platform)
  • Theme integration
  • Responsive design patterns
  • Custom map styling
Accessibility

📄 Read: references/accessibility.md

When to read: Implementing accessible map features for all users

Topics covered:

  • Screen reader support
  • Semantic labels for shapes
  • Keyboard navigation
  • WCAG compliance
  • Focus indicators
  • Accessible map interactions

Quick Start Examples

Basic Shape Layer with GeoJSON

import 'package:flutter/material.dart';
import 'package:syncfusion_flutter_maps/maps.dart';

class MyShapeMap extends StatefulWidget {
  @override
  _MyShapeMapState createState() => _MyShapeMapState();
}

class _MyShapeMapState extends State<MyShapeMap> {
  late MapShapeSource _dataSource;

  @override
  void initState() {
    super.initState();
    _dataSource = MapShapeSource.asset(
      'assets/world_map.json',
      shapeDataField: 'name',
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('World Map')),
      body: Padding(
        padding: EdgeInsets.all(15),
        child: SfMaps(
          layers: [
            MapShapeLayer(
              source: _dataSource,
              color: Colors.blue[100],
              strokeColor: Colors.blue,
              strokeWidth: 0.5,
            ),
          ],
        ),
      ),
    );
  }
}

Basic Tile Layer with OpenStreetMap

import 'package:flutter/material.dart';
import 'package:syncfusion_flutter_maps/maps.dart';

class MyTileMap extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('OpenStreetMap')),
      body: SfMaps(
        layers: [
          MapTileLayer(
            urlTemplate: 'url',
            initialFocalLatLng: MapLatLng(27.1751, 78.0421),
            initialZoomLevel: 5,
          ),
        ],
      ),
    );
  }
}

Choropleth Map with Color Mapping

class ChoroplethMap extends StatefulWidget {
  @override
  _ChoroplethMapState createState() => _ChoroplethMapState();
}

class _ChoroplethMapState extends State<ChoroplethMap> {
  late List<Model> _data;
  late MapShapeSource _dataSource;

  @override
  void initState() {
    super.initState();
    _data = [
      Model('India', 280),
      Model('United States of America', 190),
      Model('Brazil', 120),
    ];

    _dataSource = MapShapeSource.asset(
      'assets/world_map.json',
      shapeDataField: 'name',
      dataCount: _data.length,
      primaryValueMapper: (int index) => _data[index].country,
      shapeColorValueMapper: (int index) => _data[index].value,
      shapeColorMappers: [
        MapColorMapper(from: 0, to: 100, color: Colors.red),
        MapColorMapper(from: 101, to: 300, color: Colors.green),
      ],
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SfMaps(
        layers: [
          MapShapeLayer(
            source: _dataSource,
            legend: MapLegend(MapElement.shape),
            showDataLabels: true,
          ),
        ],
      ),
    );
  }
}

class Model {
  Model(this.country, this.value);
  final String country;
  final double value;
}

Map with Markers

class MapWithMarkers extends StatefulWidget {
  @override
  _MapWithMarkersState createState() => _MapWithMarkersState();
}

class _MapWithMarkersState extends State<MapWithMarkers> {
  late List<MarkerData> _markers;
  late MapShapeSource _dataSource;

  @override
  void initState() {
    super.initState();
    _markers = [
      MarkerData('New York', 40.7128, -74.0060),
      MarkerData('London', 51.5074, -0.1278),
      MarkerData('Tokyo', 35.6762, 139.6503),
    ];

    _dataSource = MapShapeSource.asset(
      'assets/world_map.json',
      shapeDataField: 'name',
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SfMaps(
        layers: [
          MapShapeLayer(
            source: _dataSource,
            initialMarkersCount: _markers.length,
            markerBuilder: (BuildContext context, int index) {
              return MapMarker(
                latitude: _markers[index].latitude,
                longitude: _markers[index].longitude,
                iconColor: Colors.red,
                iconType: MapIconType.circle,
                size: Size(15, 15),
                child: null,
              );
            },
          ),
        ],
      ),
    );
  }
}

class MarkerData {
  MarkerData(this.city, this.latitude, this.longitude);
  final String city;
  final double latitude;
  final double longitude;
}

Common Patterns

Pattern 1: Interactive Choropleth Map with Selection

// Common pattern for election results, sales data by region, etc.
late MapShapeSource _dataSource;
int? _selectedIndex;

_dataSource = MapShapeSource.asset(
  'assets/usa_states.json',
  shapeDataField: 'name',
  dataCount: _statesData.length,
  primaryValueMapper: (index) => _statesData[index].state,
  shapeColorValueMapper: (index) => _statesData[index].value,
  shapeColorMappers: [
    MapColorMapper(from: 0, to: 50, color: Colors.red),
    MapColorMapper(from: 51, to: 100, color: Colors.blue),
  ],
);

MapShapeLayer(
  source: _dataSource,
  legend: MapLegend(MapElement.shape),
  showDataLabels: true,
  onSelectionChanged: (int index) {
    setState(() {
      _selectedIndex = index;
    });
  },
  selectionSettings: MapSelectionSettings(
    color: Colors.yellow,
    strokeColor: Colors.black,
    strokeWidth: 2,
  ),
)

Pattern 2: Tile Layer with Custom Markers

// Common pattern for store locator, delivery tracking
late List<LocationData> _locations;
late MapTileLayerController _controller;

@override
void initState() {
  _controller = MapTileLayerController();
  _locations = [/* your location data */];
  super.initState();
}

MapTileLayer(
  urlTemplate: 'url',
  initialFocalLatLng: MapLatLng(37.7749, -122.4194),
  initialZoomLevel: 10,
  controller: _controller,
  initialMarkersCount: _locations.length,
  markerBuilder: (context, index) {
    return MapMarker(
      latitude: _locations[index].latitude,
      longitude: _locations[index].longitude,
      child: Icon(Icons.location_pin, color: Colors.red, size: 30),
    );
  },
  zoomPanBehavior: MapZoomPanBehavior(
    enableDoubleTapZooming: true,
    enablePinching: true,
    enablePanning: true,
  ),
)

Pattern 3: Map with Bubbles and Tooltips

// Common pattern for population density, sales volume visualization
_dataSource = MapShapeSource.asset(
  'assets/world_map.json',
  shapeDataField: 'name',
  dataCount: _data.length,
  primaryValueMapper: (index) => _data[index].country,
  bubbleSizeMapper: (index) => _data[index].population,
  bubbleColorValueMapper: (index) => _data[index].density,
);

MapShapeLayer(
  source: _dataSource,
  showDataLabels: true,
  legend: MapLegend.bar(MapElement.bubble),
  bubbleSettings: MapBubbleSettings(
    maxRadius: 50,
    minRadius: 10,
    color: Colors.blue,
  ),
  shapeTooltipBuilder: (context, index) {
    return Padding(
      padding: EdgeInsets.all(8),
      child: Text(
        '${_data[index].country}: ${_data[index].population}M',
        style: TextStyle(color: Colors.white),
      ),
    );
  },
  bubbleTooltipBuilder: (context, index) {
    return Padding(
      padding: EdgeInsets.all(8),
      child: Text(
        'Density: ${_data[index].density}/km²',
        style: TextStyle(color: Colors.white),
      ),
    );
  },
)

Pattern 4: Zoom to Fit Markers

// Show specific region with markers
late MapZoomPanBehavior _zoomPanBehavior;

@override
void initState() {
  _zoomPanBehavior = MapZoomPanBehavior(
    enableDoubleTapZooming: true,
    enablePinching: true,
    enablePanning: true,
  );
  super.initState();
}

// Button to fit bounds
void _fitToMarkers() {
  setState(() {
    // Define bounds to show all markers
    _zoomPanBehavior.latLngBounds = MapLatLngBounds(
      MapLatLng(southwestLat, southwestLng),
      MapLatLng(northeastLat, northeastLng),
    );
  });
}

MapShapeLayer(
  source: _dataSource,
  zoomPanBehavior: _zoomPanBehavior,
  // ... markers
)

Pattern 5: Dynamic Marker Addition (Tap to Add)

// Add markers where user taps
late MapLatLng _markerPosition;
late MapShapeLayerController _controller;
late CustomZoomPanBehavior _zoomPanBehavior;

@override
void initState() {
  _controller = MapShapeLayerController();
  _zoomPanBehavior = CustomZoomPanBehavior()
    ..onTap = _handleTap;
  super.initState();
}

void _handleTap(Offset position) {
  _markerPosition = _controller.pixelToLatLng(position);
  if (_controller.markersCount > 0) {
    _controller.clearMarkers();
  }
  _controller.insertMarker(0);
}

MapShapeLayer(
  source: _dataSource,
  controller: _controller,
  zoomPanBehavior: _zoomPanBehavior,
  markerBuilder: (context, index) {
    return MapMarker(
      latitude: _markerPosition.latitude,
      longitude: _markerPosition.longitude,
      child: Icon(Icons.location_on, color: Colors.red),
    );
  },
)

class CustomZoomPanBehavior extends MapZoomPanBehavior {
  late Function(Offset) onTap;

  @override
  void handleEvent(PointerEvent event) {
    if (event is PointerUpEvent) {
      onTap(event.localPosition);
    }
    super.handleEvent(event);
  }
}

Key Properties

MapShapeLayer Essential Properties

  • source - MapShapeSource with GeoJSON data and mappings
  • color - Default color for all shapes
  • strokeColor - Border color for shapes
  • strokeWidth - Border width for shapes
  • legend - Legend configuration (bar or default)
  • showDataLabels - Show labels on shapes
  • initialMarkersCount - Number of markers to display
  • markerBuilder - Builder function for markers
  • controller - MapShapeLayerController for dynamic updates
  • zoomPanBehavior - Zoom and pan configuration
  • onSelectionChanged - Callback when shape is selected
  • selectionSettings - Selection appearance settings
  • shapeTooltipBuilder - Custom tooltip for shapes
  • bubbleTooltipBuilder - Custom tooltip for bubbles
  • markerTooltipBuilder - Custom tooltip for markers
  • tooltipSettings - Tooltip styling configuration
  • bubbleSettings - Bubble appearance settings
  • dataLabelSettings - Data label styling
  • legendSettings - Legend appearance settings
  • sublayers - List of MapSublayer widgets
  • loadingBuilder - Widget shown while loading GeoJSON

MapTileLayer Essential Properties

  • urlTemplate - Tile provider URL in WMTS format
  • initialFocalLatLng - Initial center point (latitude, longitude)
  • initialZoomLevel - Initial zoom level (1-15+)
  • initialMarkersCount - Number of markers to display
  • markerBuilder - Builder function for markers
  • controller - MapTileLayerController for dynamic updates
  • zoomPanBehavior - Zoom and pan configuration
  • markerTooltipBuilder - Custom tooltip for markers
  • initialLatLngBounds - Bounds to fit on load

MapShapeSource Essential Properties

  • shapeDataField - Field name in GeoJSON to match with data
  • dataCount - Number of data items
  • primaryValueMapper - Maps data index to shape identifier
  • dataLabelMapper - Maps data index to label text
  • shapeColorValueMapper - Maps data index to color value
  • shapeColorMappers - Color mappers for equal/range mapping
  • bubbleSizeMapper - Maps data index to bubble size
  • bubbleColorValueMapper - Maps data index to bubble color
  • bubbleColorMappers - Color mappers for bubbles

MapZoomPanBehavior Essential Properties

  • enableDoubleTapZooming - Enable double-tap to zoom
  • enablePinching - Enable pinch zoom (mobile)
  • enablePanning - Enable pan gesture
  • enableMouseWheelZooming - Enable mouse wheel zoom
  • showToolbar - Show zoom toolbar (web)
  • toolbarSettings - Toolbar appearance
  • zoomLevel - Current zoom level (read/write)
  • focalLatLng - Current center point (read/write)
  • latLngBounds - Bounds to fit dynamically
  • minZoomLevel - Minimum zoom level
  • maxZoomLevel - Maximum zoom level
  • onZooming - Callback during zoom
  • onPanning - Callback during pan

Common Use Cases

  1. Election Results Map - Use MapShapeLayer with color mapping by state/region
  2. Store Locator - Use MapTileLayer with custom marker icons
  3. Sales Territory Map - Use MapShapeLayer with bubbles showing sales volume
  4. Population Density Map - Use MapShapeLayer with choropleth coloring
  5. Delivery Tracking - Use MapTileLayer with real-time marker updates
  6. Weather Map - Use MapShapeLayer with color mapping for temperature/conditions
  7. Property Finder - Use MapTileLayer with markers and zoom-to-fit
  8. Regional Analytics - Use MapShapeLayer with legends, tooltips, and selection
  9. Route Planning - Use MapTileLayer with polyline vector layers
  10. Census Data Visualization - Use MapShapeLayer with data labels and legends

平台分布

Codex

37.05%
按下载量换算76

Claude

30.92%
按下载量换算64

Cursor

18.16%
按下载量换算37

Gemini CLI

9.38%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills