feat: location-picker-editor 地图ak支持变量映射 (#8881)

Co-authored-by: jiangchunhui <jiangchunhui@baidu.com>
This commit is contained in:
青辉 2023-11-24 16:52:27 +08:00 committed by GitHub
parent 2de70d93fd
commit 3ef3e016a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,8 +126,7 @@ export class LocationControlPlugin extends BasePlugin {
rendererSchema: context?.schema,
}),
*/
{
type: 'input-text',
getSchemaTpl('formulaControl', {
name: 'ak',
label: '百度地图的 AK',
required: true,
@ -137,7 +136,7 @@ export class LocationControlPlugin extends BasePlugin {
},
description:
'请从<a href="http://lbsyun.baidu.com/" target="_blank" class="text-sm">百度地图开放平台</a>获取'
},
}),
{
type: 'select',
name: 'coordinatesType',