function openlayers_layer_type_virtualearth::__construct in Openlayers 6.2
Overrides openlayers_layer_type::__construct
File
- includes/
layer_types/ virtualearth.inc, line 13 - OpenLayers VirtualEarth layer type
Class
- openlayers_layer_type_virtualearth
- OpenLayers VirtualEarth 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();
}
}