minor fix map_filter builder

Former-commit-id: 0ef6bcaa84163f21fe0d6bcd869a7b8646581893
This commit is contained in:
fbsanchez 2019-03-22 14:57:29 +01:00
parent a4c048dd29
commit 4910da5e31
1 changed files with 7 additions and 1 deletions

View File

@ -407,7 +407,13 @@ class NetworkMap
&& is_array($options['map_options'])
) {
foreach ($options['map_options'] as $k => $v) {
$this->mapOptions[$k] = $v;
if ($k == 'map_filter' && is_array($v)) {
foreach ($v as $kc => $vc) {
$this->mapOptions['map_filter'][$kc] = $vc;
}
} else {
$this->mapOptions[$k] = $v;
}
}
}