Introduction
WARNING
The entire English document was translated directly using Google Gemini. Please excuse any errors that may have occurred.
Why - Why encapsulate this components library
This library aims to encapsulate the SuperMap Mapbox library. You can use Vue components to call various map functions, eliminating the tedious js/ts api calls.
What - Encapsulation Content
- This component library will directly package the SuperMap Mapbox(based on mapbox-gl v1.12.1), supporting multiple coordinate systems: EPSG4326, EPSG4490, EPSG4214, EPSG4610, EPSG3857.
- This component library includes visualizations, environment effects, special effect layers, and simply packaged tools for measuring distance and area.
- This component library can be used in conjunction with the extended Mapbox GL Draw (@mapbox-web/graw) to implement complex map annotation features.
- This component library has built-in Tianditu Layer. When using Tianditu Layer, it is recommended that each project apply for the key by itself.
- Built-in Tianditu Service: TiandituApi, providing keyword query, forward and reverse geocoding and other API calls