| 1 | <?php |
||
| 25 | class ImageOverlay extends Layer |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @var string the image Url |
||
| 29 | */ |
||
| 30 | public $imageUrl; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var LatLngBounds |
||
| 34 | */ |
||
| 35 | private $_bounds; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param LatLngBounds $bounds |
||
| 39 | */ |
||
| 40 | 9 | public function setImageBounds(LatLngBounds $bounds) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return LatLngBounds |
||
| 47 | */ |
||
| 48 | 9 | public function getImageBounds() |
|
| 52 | |||
| 53 | /** |
||
| 54 | * Returns the javascript ready code for the object to render |
||
| 55 | * @return \yii\web\JsExpression |
||
| 56 | */ |
||
| 57 | 9 | public function encode() |
|
| 71 | |||
| 72 | } |
||
| 73 |