You are here

function openlayers_layer_type_maptiler::options_init in Openlayers 7.2

Same name and namespace in other branches
  1. 6.2 includes/layer_types/maptiler.inc \openlayers_layer_type_maptiler::options_init()

Provide initial values for options.

Overrides openlayers_layer_type::options_init

File

plugins/layer_types/openlayers_layer_type_maptiler.inc, line 15
TileWarper Layer Type

Class

openlayers_layer_type_maptiler
OpenLayers MapTiler Layer Type class

Code

function options_init() {
  return array(
    'type' => 'png',
    'layer_handler' => 'maptiler',
    'zoomOffset' => 0,
  ) + parent::options_init();
}