AttributionControlOptions
定义于: src/ui/control/attribution_control.ts:17
AttributionControl的配置选项;
属性
名称 | 类型 | 描述 |
---|---|---|
compact? | boolean | 如果为true,则控件将以紧凑形式显示;如果为false,则控件将展开;如果未指定,则控件将自动展开或折叠取决于地图大小 |
customAttribution? | string | string[] | 要添加到地图归因中的字符串或字符串数组 |
定义于: src/ui/control/attribution_control.ts:17
AttributionControl的配置选项;
名称 | 类型 | 描述 |
---|---|---|
compact? | boolean | 如果为true,则控件将以紧凑形式显示;如果为false,则控件将展开;如果未指定,则控件将自动展开或折叠取决于地图大小 |
customAttribution? | string | string[] | 要添加到地图归因中的字符串或字符串数组 |