function openlayers_layer_type_openlayers_views_vector::options_init in Openlayers 7.2
Same name and namespace in other branches
- 6.2 modules/openlayers_views/includes/layer_types/openlayers_views_vector.inc \openlayers_layer_type_openlayers_views_vector::options_init()
Provide initial values for options.
Overrides openlayers_layer_type::options_init
File
- modules/
openlayers_views/ plugins/ layer_types/ openlayers_views_vector.inc, line 27 - OpenLayers Views Vector Layer Type
Class
Code
function options_init() {
return array(
'layer_handler' => 'openlayers_views_vector',
'layer_type' => 'openlayers_views_vector',
'projection' => array(
'EPSG:4326',
),
'isBaseLayer' => FALSE,
'vector' => TRUE,
'type' => 'Vector',
'url' => array(),
'options' => array(
'rendererOptions' => array(
'yOrdering' => TRUE,
),
),
'events' => array(),
'views' => array(),
);
}