-
Notifications
You must be signed in to change notification settings - Fork 20
/
atlas.CameraBoundsOptions.yml
91 lines (86 loc) · 2.67 KB
/
atlas.CameraBoundsOptions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
### YamlMime:TSType
name: CameraBoundsOptions
uid: azure-maps-control.atlas.CameraBoundsOptions
package: azure-maps-control
summary: The options for setting the bounds of the map control's camera.
fullName: CameraBoundsOptions
remarks: ''
isDeprecated: false
type: interface
properties:
- name: bounds
uid: azure-maps-control.atlas.CameraBoundsOptions.bounds
package: azure-maps-control
summary: |-
The bounds of the map control's camera.
`default [-180, -89, 180, 90]`
fullName: bounds
remarks: ''
isDeprecated: false
syntax:
content: 'bounds?: BoundingBox'
return:
description: ''
type: <xref uid="azure-maps-control.atlas.data.BoundingBox" />
- name: maxBounds
uid: azure-maps-control.atlas.CameraBoundsOptions.maxBounds
package: azure-maps-control
summary: >-
A bounding box in which to constrain the viewable map area to.
Users won't be able to pan the center of the map outside of this bounding
box.
Set maxBounds to null or undefined to remove maxBounds
Default `undefined`.
fullName: maxBounds
remarks: ''
isDeprecated: false
syntax:
content: 'maxBounds?: BoundingBox'
return:
description: ''
type: <xref uid="azure-maps-control.atlas.data.BoundingBox" />
- name: maxZoom
uid: azure-maps-control.atlas.CameraBoundsOptions.maxZoom
package: azure-maps-control
summary: >-
The maximum zoom level to allow when the map view transitions to the
specified bounds.
`default 20`
fullName: maxZoom
remarks: ''
isDeprecated: false
syntax:
content: 'maxZoom?: number'
return:
description: ''
type: number
- name: offset
uid: azure-maps-control.atlas.CameraBoundsOptions.offset
package: azure-maps-control
summary: >-
An offset of the center of the given bounds relative to the map's center,
measured in pixels.
`default [0, 0]`
fullName: offset
remarks: ''
isDeprecated: false
syntax:
content: 'offset?: Pixel'
return:
description: ''
type: <xref uid="azure-maps-control.atlas.Pixel" />
- name: padding
uid: azure-maps-control.atlas.CameraBoundsOptions.padding
package: azure-maps-control
summary: |-
The amount of padding in pixels to add to the given bounds.
`default {top: 0, bottom: 0, left: 0, right: 0}`
fullName: padding
remarks: ''
isDeprecated: false
syntax:
content: 'padding?: Padding | number'
return:
description: ''
type: <xref uid="azure-maps-control.atlas.Padding" /> | number
extends: <xref uid="azure-maps-control.atlas.Options" />