Azure-Samples / Azure-Samples/AzureMapsCodeSamples

Weird positioning of map control in right bottom corner

未关闭
#154 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
373
派生
468
PR 合并指标
30 天内没有已合并 PR

描述

When placing a map control in the right bottom corner, its control graphic is not placed at the bottom. I would think that the copyright or feedback link would obstruct the map control in the corner but the feedback link is disabled. Even though nothing is under the map control, it is not placed fully at the bottom. Is this by design?

image

**Map configuration:**
```
this.map = new azmaps.Map('mapContainer', {
center: ...,
maxBounds: ...,
pitch: ...,
bearing: ...,
zoom: ...,
minZoom: ...,
maxZoom: ...,
style: ...,
language: ...,
preserveDrawingBuffer: true,
progressiveLoading: true,
showFeedbackLink: false,
showLogo: false,

authOptions: {
authType: azmaps.AuthenticationType.subscriptionKey,
subscriptionKey: ...
}
});
```

```
this.map.controls.add([
new azmaps.control.StyleControl({ mapStyles: 'all' }),
], { position: azmaps.ControlPosition.BottomRight });
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。