function openlayers_layer_type_tms::options_init in Openlayers 7.2
Same name and namespace in other branches
- 6.2 includes/layer_types/tms.inc \openlayers_layer_type_tms::options_init()
Provide initial values for options.
Overrides openlayers_layer_type::options_init
File
- plugins/
layer_types/ openlayers_layer_type_tms.inc, line 15 - TMS Layer Type
Class
- openlayers_layer_type_tms
- OpenLayers TMS Layer Type class
Code
function options_init() {
return array(
'layer_handler' => 'tms',
'type' => 'png',
'maptiler' => FALSE,
'serviceVersion' => '1.0.0',
'wrapDateLine' => FALSE,
'zoomOffset' => 0,
'tileOrigin' => array(
'lon' => NULL,
'lat' => NULL,
),
'url' => '',
) + parent::options_init();
}