You are here

function openlayers_layer_type_cloudmade::options_init in Openlayers 6.2

Same name and namespace in other branches
  1. 7.2 plugins/layer_types/openlayers_layer_type_cloudmade.inc \openlayers_layer_type_cloudmade::options_init()

Provide initial values for options.

Overrides openlayers_layer_type::options_init

1 call to openlayers_layer_type_cloudmade::options_init()
openlayers_layer_type_cloudmade::__construct in includes/layer_types/cloudmade.inc

File

includes/layer_types/cloudmade.inc, line 25
OpenLayers CloudMade layer type

Class

openlayers_layer_type_cloudmade
OpenLayers CloudMade Layer Type class

Code

function options_init() {
  return array(
    'layer_type' => 'cloudmade',
    'layer_handler' => 'cloudmade',
    'key' => variable_get('openlayers_layers_cloudmade_api', ''),
    'projection' => array(
      '900913',
    ),
    'baselayer' => TRUE,
  );
}