function openlayers_layer_type_cloudmade::options_init in Openlayers 7.2
Same name and namespace in other branches
- 6.2 includes/layer_types/cloudmade.inc \openlayers_layer_type_cloudmade::options_init()
Provide initial values for options.
Overrides openlayers_layer_type::options_init
File
- plugins/
layer_types/ openlayers_layer_type_cloudmade.inc, line 16 - OpenLayers CloudMade layer type
Class
- openlayers_layer_type_cloudmade
- OpenLayers CloudMade Layer Type class
Code
function options_init() {
return array(
'layer_handler' => 'cloudmade',
'key' => variable_get('openlayers_layers_cloudmade_api', ''),
) + parent::options_init();
}