1 | <?php |
||
27 | class GeoJson extends Layer |
||
28 | { |
||
29 | /** |
||
30 | * @var array geo spatial data interchange json object. For information related to GeoJSON format, please visit |
||
31 | * [http://geojson.org/geojson-spec.html](http://geojson.org/geojson-spec.html). This component does not validate |
||
32 | * this data, it just renders it. This array will be converted into a json object previous encoding. |
||
33 | */ |
||
34 | public $data = []; |
||
35 | |||
36 | /** |
||
37 | * Returns the javascript ready code for the object to render |
||
38 | * @return string|JsExpression |
||
39 | */ |
||
40 | 6 | public function encode() |
|
53 | |||
54 | } |
||
55 |