@@ -16,9 +16,9 @@ |
||
16 | 16 | class OpenLayers extends Widget |
17 | 17 | { |
18 | 18 | /** |
19 | - * @var array the HTML attributes for the container div of this widget. |
|
20 | - * @see \yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. |
|
21 | - */ |
|
19 | + * @var array the HTML attributes for the container div of this widget. |
|
20 | + * @see \yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. |
|
21 | + */ |
|
22 | 22 | public $options = []; |
23 | 23 | /** |
24 | 24 | * The properties to be passed to the OpenLayers Map() constructor. In order to ease passing complex javascript structures, some simplifications are supported. |
@@ -82,8 +82,8 @@ |
||
82 | 82 | return "new ol.$this->class($properties)"; |
83 | 83 | } |
84 | 84 | |
85 | - public function __toString() { |
|
86 | - return $this->expression; |
|
87 | - } |
|
85 | + public function __toString() { |
|
86 | + return $this->expression; |
|
87 | + } |
|
88 | 88 | |
89 | 89 | } |
90 | 90 | \ No newline at end of file |