Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能用1.0吗? #362

Open
starInEcust opened this issue Jun 18, 2024 · 1 comment
Open

能用1.0吗? #362

starInEcust opened this issue Jun 18, 2024 · 1 comment

Comments

@starInEcust
Copy link
Contributor

starInEcust commented Jun 18, 2024

 我看不是能选版本号,能用1吗? 产品说要用英文地图,2.0没有...
 <APILoader
        version="1.0"
        akey="0e42491f2fb9a2adb0d6efa2418"
      >
@jaywcjlove
Copy link
Member

/**
* key 密钥
* 您需先[申请密钥(ak)](https://lbs.amap.com/dev/key/app)。开发文档说明地址:https://lbs.amap.com/api/javascript-api/guide/abc/prepare
*
* 1. 首先,[注册开发者账号](https://lbs.amap.com/dev/id/newuser),成为高德开放平台开发者
* 2. 登陆之后,在进入「应用管理」 页面「创建新应用」
* 3. 为应用[添加 Key](https://lbs.amap.com/dev/key/app),「服务平台」一项请选择「 Web 端 ( JSAPI ) 」
*
*/
akey?: string;
/**
* SDK 包版本,指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
* @default 1.4.15
*/
version?: string;
/**
* 加载一个或者多个插件
* @example `['AMap.ToolBar', 'AMap.Driving']`
*/

没有测试过,但是可以指定版本加载 SDK,估计🉐有问题吧 @starInEcust

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants