高德js版本可以指定吗?
- Dominant language
- TypeScript
- Stars
- 4.1k
- Forks
- 656
- PR merge metrics
- No merged PRs in 30d
Description
### 问题描述
https://github.com/antvis/L7/blob/ab05df605bd0e5d0d2a938461945405374d9381c/packages/maps/src/amap-next/map.ts#L22
好像代码写死了版本是 V2.0, 无法指定
### 重现链接
_No response_
### 重现步骤
_No response_
### 预期行为
_No response_
### 平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
### 屏幕截图或视频(可选)
_No response_
### 补充说明(可选)
_No response_
Contributor guide
Research direction
Start with packages/maps/src/amap-next/map.ts at line 22, where the issue reports that the AMap JavaScript version is fixed at V2.0. Trace how the map options or configuration reach this entry point and identify the existing way users provide AMap settings. Done means callers can specify the JavaScript version instead of always receiving V2.0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100