Prepares JavaScript related to a row in the GIS dataset
to visualize it with OpenLayers.
public prepareRowAsOl ( string $spatial, integer $srid, string $label, string $fill_color, array $scale_data ) : string | ||
$spatial | string | GIS POLYGON object |
$srid | integer | Spatial reference ID |
$label | string | Label for the GIS POLYGON object |
$fill_color | string | Color for the GIS POLYGON object |
$scale_data | array | Array containing data related to scaling |
리턴 | string | JavaScript related to a row in the GIS dataset |