| 1 | <?php |
||
| 9 | class BoundingBox implements GetParameterInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var float |
||
| 13 | */ |
||
| 14 | protected $longitudeLeft; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var float |
||
| 18 | */ |
||
| 19 | protected $latitudeBottom; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var float |
||
| 23 | */ |
||
| 24 | protected $longitudeRight; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var float |
||
| 28 | */ |
||
| 29 | protected $latitudeTop; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var int |
||
| 33 | */ |
||
| 34 | protected $zoom; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * BoundingBox constructor. |
||
| 38 | * |
||
| 39 | * @param float $longitudeLeft |
||
| 40 | * @param float $latitudeBottom |
||
| 41 | * @param float $longitudeRight |
||
| 42 | * @param float $latitudeTop |
||
| 43 | * @param int $zoom |
||
| 44 | */ |
||
| 45 | public function __construct(float $longitudeLeft, float $latitudeBottom, float $longitudeRight, float $latitudeTop, int $zoom) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * {@inheritdoc} |
||
| 56 | */ |
||
| 57 | public function getGetParameterValue(): string |
||
| 65 | |||
| 66 | /** |
||
| 67 | * {@inheritdoc} |
||
| 68 | */ |
||
| 69 | public function getGetParameterName(): string |
||
| 73 | } |
||
| 74 |