function openlayers_layer_type_tms::__construct in Openlayers 6.2
Overrides openlayers_layer_type::__construct
File
- includes/
layer_types/ tms.inc, line 13 - TMS Layer Type
Class
- openlayers_layer_type_tms
- OpenLayers TMS Layer Type class
Code
function __construct($layer = array(), $map = array()) {
parent::__construct($layer, $map);
if (isset($this->data)) {
$this->data += $this
->options_init();
}
else {
$this->data = $this
->options_init();
}
}