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