Commit 70a95484 authored by itamair's avatar itamair
Browse files

TaxonomyTermThemer plugin fix of <- Reflect the Map Theming Icon Image Styles...

TaxonomyTermThemer plugin fix of <- Reflect the Map Theming Icon Image Styles -> Legend Icon Image style option
parent 39d5199d
......@@ -317,7 +317,7 @@ class TaxonomyTermThemer extends MapThemerBase {
$image_style = isset($configuration['markers_image_style']) ? $configuration['markers_image_style'] : 'none';
// Get the map_theming_image_style, is so set.
if (isset($configuration['markers_image_style']) && $configuration['markers_image_style'] == '_map_theming_image_style_') {
$image_style = isset($map_theming_values[$vid]['image_style']) ? $map_theming_values[$vid]['image_style'] : 'none';
$image_style = isset($map_theming_values['fields'][$taxonomy_field]['terms'][$vid]['image_style']) ? $map_theming_values['fields'][$taxonomy_field]['terms'][$vid]['image_style'] : 'none';
}
$fid = (integer) !empty($term['icon_file']['fids']) ? $term['icon_file']['fids'] : NULL;
$label = isset($term['label']) ? $term['label'] : $vid;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment