1 | <?php |
||
17 | class ControlManager |
||
18 | { |
||
19 | /** |
||
20 | * @var MapTypeControl|null |
||
21 | */ |
||
22 | private $mapTypeControl; |
||
23 | |||
24 | /** |
||
25 | * @var RotateControl|null |
||
26 | */ |
||
27 | private $rotateControl; |
||
28 | |||
29 | /** |
||
30 | * @var ScaleControl|null |
||
31 | */ |
||
32 | private $scaleControl; |
||
33 | |||
34 | /** |
||
35 | * @var StreetViewControl|null |
||
36 | */ |
||
37 | private $streetViewControl; |
||
38 | |||
39 | /** |
||
40 | * @var ZoomControl|null |
||
41 | */ |
||
42 | private $zoomControl; |
||
43 | |||
44 | /** |
||
45 | * @return bool |
||
46 | */ |
||
47 | public function hasMapTypeControl() |
||
51 | |||
52 | /** |
||
53 | * @return MapTypeControl|null |
||
54 | */ |
||
55 | public function getMapTypeControl() |
||
59 | |||
60 | /** |
||
61 | * @param MapTypeControl|null $mapTypeControl |
||
62 | */ |
||
63 | public function setMapTypeControl(MapTypeControl $mapTypeControl = null) |
||
67 | |||
68 | /** |
||
69 | * @return bool |
||
70 | */ |
||
71 | public function hasRotateControl() |
||
75 | |||
76 | /** |
||
77 | * @return RotateControl|null |
||
78 | */ |
||
79 | public function getRotateControl() |
||
83 | |||
84 | /** |
||
85 | * @param RotateControl|null $rotateControl |
||
86 | */ |
||
87 | public function setRotateControl(RotateControl $rotateControl = null) |
||
91 | |||
92 | /** |
||
93 | * @return bool |
||
94 | */ |
||
95 | public function hasScaleControl() |
||
99 | |||
100 | /** |
||
101 | * @return ScaleControl|null |
||
102 | */ |
||
103 | public function getScaleControl() |
||
107 | |||
108 | /** |
||
109 | * @param ScaleControl|null $scaleControl |
||
110 | */ |
||
111 | public function setScaleControl(ScaleControl $scaleControl = null) |
||
115 | |||
116 | /** |
||
117 | * @return bool |
||
118 | */ |
||
119 | public function hasStreetViewControl() |
||
123 | |||
124 | /** |
||
125 | * @return StreetViewControl|null |
||
126 | */ |
||
127 | public function getStreetViewControl() |
||
131 | |||
132 | /** |
||
133 | * @param StreetViewControl|null $streetViewControl |
||
134 | */ |
||
135 | public function setStreetViewControl(StreetViewControl $streetViewControl = null) |
||
139 | |||
140 | /** |
||
141 | * @return bool |
||
142 | */ |
||
143 | public function hasZoomControl() |
||
147 | |||
148 | /** |
||
149 | * @return ZoomControl|null |
||
150 | */ |
||
151 | public function getZoomControl() |
||
155 | |||
156 | /** |
||
157 | * @param ZoomControl|null $zoomControl |
||
158 | */ |
||
159 | public function setZoomControl(ZoomControl $zoomControl = null) |
||
163 | } |
||
164 |