Total Complexity | 2 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
8 | class MagnifyingGlass |
||
9 | { |
||
10 | /** |
||
11 | * If true, when the user lingers over a cluttered marker, a magnifiying glass will be opened. |
||
12 | * |
||
13 | * Note: this feature is not supported in browsers that do not support SVG, i.e. Internet Explorer version 8 or |
||
14 | * earlier. |
||
15 | * |
||
16 | * @var bool |
||
17 | */ |
||
18 | protected $enable; |
||
19 | |||
20 | /** |
||
21 | * The zoom factor of the magnifying glass. Can be any number greater than 0. |
||
22 | * |
||
23 | * @var float |
||
24 | */ |
||
25 | protected $zoomFactor; |
||
26 | |||
27 | /** |
||
28 | * @return $this |
||
29 | */ |
||
30 | public function setEnable(bool $enable) |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return $this |
||
39 | */ |
||
40 | public function setZoomFactor(float $zoomFactor) |
||
47 |