function openlayers_layer_type_kml::__construct in Openlayers 6.2
Overrides openlayers_layer_type::__construct
File
- includes/
layer_types/ kml.inc, line 12 - KML Layer Type
Class
- openlayers_layer_type_kml
- OpenLayers KML 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();
}
}