Azure-Samples / Azure-Samples/AzureMapsCodeSamples

Weird positioning of map control in right bottom corner

Đang mở
#154 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
373
Fork
468
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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 });
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.