didi-jsapi for Openclaw

A comprehensive developer guide and technical reference for integrating DiDi Maps JSAPI into web applications.

mcmdhr
v1.0.0
Mar 23, 2026
1
894
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install didi-map-jsapi

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install didi-map-jsapi using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is didi-jsapi?

The didi-jsapi skill serves as an authoritative reference for developers working with the DiDi Maps JavaScript API. It provides structured guidance on core mapping functionalities, ranging from basic map initialization to complex spatial data visualizations. By leveraging this skill, developers can ensure they are following best practices for security, performance optimization, and API usage within the DiDi ecosystem.

This resource is specifically designed to streamline the implementation of DiMap features, offering clear instructions on handling coordinates, managing map layers, and processing user interactions. Whether you are building a simple location picker or a complex logistics dashboard, these Openclaw Skills provide the necessary code snippets and architectural patterns to accelerate your development cycle.

didi-jsapi Use Cases

  • Building new map-based web pages or reusable map components.
  • Configuring secure API authentication using security keys and proxy servers.
  • Adding interactive overlays such as markers, polylines, and polygons to a map.
  • Handling complex user interactions including clicks, drags, and zoom events.
  • Implementing advanced spatial features like heatmaps and point clustering.
  • Debugging map rendering performance or coordinate transformation issues.

How didi-jsapi Works

  1. The developer triggers the skill when mentioning DiMap, DiDi Maps, or specific JSAPI requirements.
  2. The skill identifies the core requirement, such as coordinate conversion (LngLat) or map initialization.
  3. It references specific documentation modules (e.g., map.md, marker.md) to provide relevant API signatures.
  4. It generates compliant code examples for the requested feature, including necessary security configurations.
  5. The developer implements the provided logic into their frontend application, utilizing the provided TypeScript definitions for type safety.

didi-jsapi Setup

To get started with the didi-jsapi skill within your environment, ensure you have the Openclaw Skills framework configured. Follow these steps for basic setup:

  1. Ensure your project has access to DiDi Maps JSAPI credentials.
  2. Configure your security key or proxy server as detailed in the auth reference:
# Example of setting up the map environment
npm install @didimap/jsapi # Hypothetical package installation
  1. Initialize your map instance using the provided documentation in references/map.md.

didi-jsapi Data Schema & Taxonomy

The didi-jsapi skill organizes information into a modular taxonomy for quick access:

Category Description Key References
Core Map initialization and event handling map.md, base-evented.md
Coordinates Classes for LngLat, Points, and Mercator coordinate-lnglat.md, coordinate-point.md
Overlays Visual elements like Markers, Circles, and Polygons marker.md, overlay-polygon.md
Vector Layers Data-driven layers and 3D extrusions vector-polygon-layer.md, vector-symbol-layer.md
Services External API calls for routing and geocoding service-route.md, service-geocode.md
Utilities Calculation tools for distance and area util-geometry.md

didi-jsapi Advanced Features

  • Multi-layer management including HeatmapLayers and LabelLayers for high-density data.
  • Advanced Marker Clustering (MarkerCluster) to maintain performance with thousands of points.
  • 3D Polygon Extrusion support for architectural or terrain visualization.
  • Comprehensive TypeScript (TS) definitions for robust, error-free development.
  • Integration with Shape Editors for real-time geometry drawing and editing.
  • Professional-grade spatial services including Route Planning and POI Search.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*