| 1 | <?php |
||
| 27 | class Rectangle extends Layer |
||
| 28 | { |
||
| 29 | use PopupTrait; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var LatLngBounds |
||
| 33 | */ |
||
| 34 | private $_bounds; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param LatLngBounds $bounds |
||
| 38 | */ |
||
| 39 | 9 | public function setBounds(LatLngBounds $bounds) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return LatLngBounds |
||
| 47 | */ |
||
| 48 | 9 | public function getBounds() |
|
| 52 | |||
| 53 | /** |
||
| 54 | * Returns the javascript ready code for the object to render |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | 9 | public function encode() |
|
| 69 | |||
| 70 | } |
||
| 71 |