map_adapter

$adapter = wa()->getSetting('map_adapter', 'google', 'webasyst');

$json = wa()->getSetting("map_adapter_" . $adapter, '', 'webasyst');
$array = json_decode($json, true);
$apikey = $array['apikey'];