---
name: supergis
description: >-
  Implement maps and geospatial visualization for OpenLayers, Cesium, Leaflet,
  MapLibre, Mapbox, maptalks, SuperMap, MapGIS, ArcGIS, GeoScene, AMap, Baidu Map,
  Tencent Map, Tianditu, KQGIS, NavInfo, Google Maps, Three.js, deck.gl, AntV L7,
  and MapV. Use when the user says supergis or names one of these libraries and
  asks for a map, layer, terrain, 3D Tiles, vector tile, GeoJSON, WMS, WMTS, draw,
  measure, query, or visualization. Open modules/<library>/index.md and the
  matching example, then adapt that example's full code to the host project.
---

# supergis

用户点名某个库时，只读该库的索引，再读索引里对应的示例文件。把该文件中的完整写法接到当前项目：替换容器和资源地址，离开页面时销毁地图、图层和事件。不要换成另一个库的 API。

共用约定：

- [core/choose.md](core/choose.md)
- [core/crs.md](core/crs.md)
- [core/tokens.md](core/tokens.md)
- [core/tianditu-wmts.md](core/tianditu-wmts.md)

库索引：

- OpenLayers：[modules/openlayers/index.md](modules/openlayers/index.md)
- Cesium：[modules/cesium/index.md](modules/cesium/index.md)
- Leaflet：[modules/leaflet/index.md](modules/leaflet/index.md)
- MapLibre：[modules/maplibre/index.md](modules/maplibre/index.md)
- Mapbox：[modules/mapbox/index.md](modules/mapbox/index.md)
- maptalks：[modules/maptalks/index.md](modules/maptalks/index.md)
- SuperMap：[modules/supermap/index.md](modules/supermap/index.md)
- MapGIS：[modules/mapgis/index.md](modules/mapgis/index.md)
- ArcGIS：[modules/arcgis/index.md](modules/arcgis/index.md)
- GeoScene：[modules/geoscene/index.md](modules/geoscene/index.md)
- 高德 AMap：[modules/amap/index.md](modules/amap/index.md)
- 百度：[modules/baidu/index.md](modules/baidu/index.md)
- 腾讯：[modules/tencent/index.md](modules/tencent/index.md)
- 天地图：[modules/tianditu/index.md](modules/tianditu/index.md)
- 苍穹 KQGIS：[modules/kqgis/index.md](modules/kqgis/index.md)
- 四维图新：[modules/navinfo/index.md](modules/navinfo/index.md)
- Google Maps：[modules/google/index.md](modules/google/index.md)
- Three.js：[modules/three/index.md](modules/three/index.md)
- deck.gl：[modules/deckgl/index.md](modules/deckgl/index.md)
- AntV L7：[modules/l7/index.md](modules/l7/index.md)
- MapV：[modules/mapv/index.md](modules/mapv/index.md)
