function openlayers_layer_type_google::options_init in Openlayers 7.2
Same name and namespace in other branches
- 6.2 includes/layer_types/google.inc \openlayers_layer_type_google::options_init()
Provide initial values for options.
Overrides openlayers_layer_type::options_init
File
- plugins/
layer_types/ openlayers_layer_type_google.inc, line 14 - Google Layer Type
Class
- openlayers_layer_type_google
- OpenLayers Google Layer Type class
Code
function options_init() {
return array(
'layer_handler' => 'google',
'animationEnabled' => TRUE,
'sphericalMercator' => TRUE,
'numZoomLevels' => 21,
) + parent::options_init();
}