minor fix map_filter builder
Former-commit-id: 0ef6bcaa84163f21fe0d6bcd869a7b8646581893
This commit is contained in:
parent
a4c048dd29
commit
4910da5e31
|
@ -407,7 +407,13 @@ class NetworkMap
|
||||||
&& is_array($options['map_options'])
|
&& is_array($options['map_options'])
|
||||||
) {
|
) {
|
||||||
foreach ($options['map_options'] as $k => $v) {
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue