@@ -73,7 +73,7 @@ |
||
73 | 73 | |
74 | 74 | /** |
75 | 75 | * Returns the processed js options |
76 | - * @return array |
|
76 | + * @return string |
|
77 | 77 | */ |
78 | 78 | public function getOptions() |
79 | 79 | { |
@@ -7,9 +7,9 @@ |
||
7 | 7 | namespace dosamigos\leaflet\controls; |
8 | 8 | |
9 | 9 | |
10 | +use dosamigos\leaflet\LeafLet; |
|
10 | 11 | use dosamigos\leaflet\layers\LayerGroup; |
11 | 12 | use dosamigos\leaflet\layers\TileLayer; |
12 | -use dosamigos\leaflet\LeafLet; |
|
13 | 13 | use yii\base\InvalidParamException; |
14 | 14 | use yii\helpers\Json; |
15 | 15 | use yii\web\JsExpression; |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use dosamigos\leaflet\LeafLetAsset; |
12 | 12 | use yii\base\InvalidConfigException; |
13 | 13 | use yii\base\Widget; |
14 | -use yii\helpers\ArrayHelper; |
|
15 | 14 | use yii\helpers\Html; |
16 | 15 | use yii\helpers\Json; |
17 | 16 |