antvis/L7/skills/l7
AntV L7 geospatial maps
A guide to the AntV L7 geospatial library for building interactive WebGL maps, layers and location dashboards from GeoJSON, CSV or other spatial data.
What AntV L7 geospatial maps does
This skill is a reference set for AntV L7, a WebGL engine for visualizing large geospatial datasets. SKILL.md opens with a quick-start example: create a Scene with a base map (the sample uses GaodeMap), wait for the loaded event, then add a PointLayer with a data source, shape, size and color.
The file then sets out a five-step workflow: set up the scene, prepare the data, create layers, add interactions, and tune performance. For detail, the agent is told to load only the reference files a request needs. A lookup table maps requests such as drawing a path or adding a click event to files under references/. Those files cover scenes and map types, data sources (GeoJSON, CSV, JSON, MVT, raster), point, line, polygon, heatmap, image and tile layers, color and size mapping, events, popups, markers, controls, animation and performance. Three JSON files in metadata/ record how topics depend on each other, Chinese and English search tags, and version compatibility.
The output is L7 code written by the agent: a map scene with layers, interaction and animation. Running npm install @antv/l7 adds the L7 library the skill teaches. The skill files themselves are in the repository's skills/l7 folder.
Install
npm install @antv/l7Read the security check below before you run it. The repository's own instructions win if they differ.
Security check
What the skill's files do, from reading them. A flag that nobody has checked yet says "Not checked", never "No".
- Runs scripts
- No
- Uses the network
- No
- Installs hooks
- No
- Asks for secrets
- No
The scan found no scripts, hook definitions, network calls or secret variables in the skill folder, checked at commit 53643937093f. Its folder holds Markdown documents plus a metadata folder of JSON files, and the frontmatter lists no allowed tools. Nothing in the skill runs on its own. Code that an agent writes from it will add L7 packages and map code to your project. Before installing, read SKILL.md, confirm you are installing the same commit, and review the generated code in a test repository before merging it.
Scan details: No scripts, hook definitions, network calls or secret variables were found in the skill folder. Checked at commit 53643937093f.
Use cases
- Building interactive WebGL maps with L7 point, line, polygon or heatmap layers
- Loading GeoJSON, CSV or other spatial data into map layers
- Placing L7 layers on AMap (GaodeMap), Mapbox, Maplibre or the standalone L7 Map
- Improving performance with large geographic datasets
Limitations
- SKILL.md headings and explanations are in Chinese; only the frontmatter description is in English.
- Written for L7 2.x; its metadata says 2.x is incompatible with 1.x and recommends 2.11.0 or later.
- Some links in SKILL.md, such as references/data/geojson.md, point to files that are not in the folder.
- Code it produces uses the @antv/l7 and @antv/l7-maps packages and needs WebGL 1.0 at minimum; some features need WebGL 2.0.
Sources
- antv-l7 skill folderRepositoryPrimarygithub.com
- antvis/L7RepositoryPrimarygithub.com
- github.com/antvis/L7/blob/master/skills/l7/SKILL.mdRepositoryPrimary
- github.com/antvis/L7/blob/master/skills/l7/metadata/version-compatibility.jsonRepositoryPrimary

