function openlayers_views_style_data::option_definition in Openlayers 6.2
Same name and namespace in other branches
- 7.2 modules/openlayers_views/views/openlayers_views_style_data.inc \openlayers_views_style_data::option_definition()
Set default options
File
- modules/
openlayers_views/ views/ openlayers_views_style_data.inc, line 21 - This file holds style plugin for OpenLayers Views
Class
- openlayers_views_style_data
- @class Extension of the Views Plugin Syle for OpenLayers
Code
function option_definition() {
$options = parent::option_definition();
$options['data_source'] = array(
'default' => 'openlayers_wkt',
);
return $options;
}