function openlayers_layer_type_google::options_init in Openlayers 6.2
Same name and namespace in other branches
- 7.2 plugins/layer_types/openlayers_layer_type_google.inc \openlayers_layer_type_google::options_init()
Provide initial values for options.
Overrides openlayers_layer_type::options_init
1 call to openlayers_layer_type_google::options_init()
- openlayers_layer_type_google::__construct in includes/
layer_types/ google.inc
File
- includes/
layer_types/ google.inc, line 24 - Google Layer Type
Class
- openlayers_layer_type_google
- OpenLayers Google Layer Type class
Code
function options_init() {
return array(
'serverResolutions' => openlayers_get_resolutions('900913'),
'maxExtent' => openlayers_get_extent('900913'),
'projection' => array(
'900913',
),
'layer_type' => 'google',
'layer_handler' => 'google',
'baselayer' => TRUE,
);
}