1 | <?php |
||
17 | class ControlManager |
||
18 | { |
||
19 | /** |
||
20 | * @var FullscreenControl|null |
||
21 | */ |
||
22 | private $fullscreenControl; |
||
23 | |||
24 | /** |
||
25 | * @var MapTypeControl|null |
||
26 | */ |
||
27 | private $mapTypeControl; |
||
28 | |||
29 | /** |
||
30 | * @var RotateControl|null |
||
31 | */ |
||
32 | private $rotateControl; |
||
33 | |||
34 | /** |
||
35 | * @var ScaleControl|null |
||
36 | */ |
||
37 | private $scaleControl; |
||
38 | |||
39 | /** |
||
40 | * @var StreetViewControl|null |
||
41 | */ |
||
42 | private $streetViewControl; |
||
43 | |||
44 | /** |
||
45 | * @var ZoomControl|null |
||
46 | */ |
||
47 | private $zoomControl; |
||
48 | |||
49 | /** |
||
50 | * @var CustomControl[] |
||
51 | */ |
||
52 | private $customControls = []; |
||
53 | |||
54 | /** |
||
55 | * @return bool |
||
56 | */ |
||
57 | public function hasFullscreenControl() |
||
61 | |||
62 | /** |
||
63 | * @return FullscreenControl|null |
||
64 | */ |
||
65 | public function getFullscreenControl() |
||
69 | |||
70 | /** |
||
71 | * @param FullscreenControl|null $fullscreenControl |
||
72 | */ |
||
73 | public function setFullscreenControl(FullscreenControl $fullscreenControl = null) |
||
77 | |||
78 | /** |
||
79 | * @return bool |
||
80 | */ |
||
81 | public function hasMapTypeControl() |
||
85 | |||
86 | /** |
||
87 | * @return MapTypeControl|null |
||
88 | */ |
||
89 | public function getMapTypeControl() |
||
93 | |||
94 | /** |
||
95 | * @param MapTypeControl|null $mapTypeControl |
||
96 | */ |
||
97 | public function setMapTypeControl(MapTypeControl $mapTypeControl = null) |
||
101 | |||
102 | /** |
||
103 | * @return bool |
||
104 | */ |
||
105 | public function hasRotateControl() |
||
109 | |||
110 | /** |
||
111 | * @return RotateControl|null |
||
112 | */ |
||
113 | public function getRotateControl() |
||
117 | |||
118 | /** |
||
119 | * @param RotateControl|null $rotateControl |
||
120 | */ |
||
121 | public function setRotateControl(RotateControl $rotateControl = null) |
||
125 | |||
126 | /** |
||
127 | * @return bool |
||
128 | */ |
||
129 | public function hasScaleControl() |
||
133 | |||
134 | /** |
||
135 | * @return ScaleControl|null |
||
136 | */ |
||
137 | public function getScaleControl() |
||
141 | |||
142 | /** |
||
143 | * @param ScaleControl|null $scaleControl |
||
144 | */ |
||
145 | public function setScaleControl(ScaleControl $scaleControl = null) |
||
149 | |||
150 | /** |
||
151 | * @return bool |
||
152 | */ |
||
153 | public function hasStreetViewControl() |
||
157 | |||
158 | /** |
||
159 | * @return StreetViewControl|null |
||
160 | */ |
||
161 | public function getStreetViewControl() |
||
165 | |||
166 | /** |
||
167 | * @param StreetViewControl|null $streetViewControl |
||
168 | */ |
||
169 | public function setStreetViewControl(StreetViewControl $streetViewControl = null) |
||
173 | |||
174 | /** |
||
175 | * @return bool |
||
176 | */ |
||
177 | public function hasZoomControl() |
||
181 | |||
182 | /** |
||
183 | * @return ZoomControl|null |
||
184 | */ |
||
185 | public function getZoomControl() |
||
189 | |||
190 | /** |
||
191 | * @param ZoomControl|null $zoomControl |
||
192 | */ |
||
193 | public function setZoomControl(ZoomControl $zoomControl = null) |
||
197 | |||
198 | /** |
||
199 | * @return bool |
||
200 | */ |
||
201 | public function hasCustomControls() |
||
205 | |||
206 | /** |
||
207 | * @return CustomControl[] |
||
208 | */ |
||
209 | public function getCustomControls() |
||
213 | |||
214 | /** |
||
215 | * @param CustomControl[] $customControls |
||
216 | */ |
||
217 | public function setCustomControls(array $customControls) |
||
222 | |||
223 | /** |
||
224 | * @param CustomControl[] $customControls |
||
225 | */ |
||
226 | public function addCustomControls(array $customControls) |
||
232 | |||
233 | /** |
||
234 | * @param CustomControl $customControl |
||
235 | * |
||
236 | * @return bool |
||
237 | */ |
||
238 | public function hasCustomControl(CustomControl $customControl) |
||
242 | |||
243 | /** |
||
244 | * @param CustomControl $customControl |
||
245 | */ |
||
246 | public function addCustomControl(CustomControl $customControl) |
||
252 | |||
253 | /** |
||
254 | * @param CustomControl $customControl |
||
255 | */ |
||
256 | public function removeCustomControl(CustomControl $customControl) |
||
261 | } |
||
262 |