| 1 | <?php |
||
| 24 | class Popup extends Layer |
||
| 25 | { |
||
| 26 | |||
| 27 | use LatLngTrait; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var string the HTML content of the popup |
||
| 31 | */ |
||
| 32 | public $content; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Initializes the marker. |
||
| 36 | * @throws \yii\base\InvalidConfigException |
||
| 37 | */ |
||
| 38 | 9 | public function init() |
|
| 45 | |||
| 46 | /** |
||
| 47 | * Returns the javascript ready code for the object to render |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | 3 | public function encode() |
|
| 63 | } |
||
| 64 |