@@ -122,11 +122,6 @@ class EntityTypeThemer extends MapThemerBase {
'#tag'=>'label',
'#value'=>$this->t('Icon Urls, per Entity Types'),
],
'caption'=>[
'#type'=>'html_tag',
'#tag'=>'div',
'#value'=>$this->t('Input the Specific Icon Image path (absolute path, or relative to the Drupal site root prefixed with a trailing hash).<br>If not set, or not loadable, the Default Google Marker will be used.'),
'#value'=>$this->t('Input the Specific Icon Image path (absolute path, or relative to the Drupal site root prefixed with a trailing hash).<br>If not set, or not loadable, the Default Google Marker will be used.'),
if(!count($taxonomy_ref_fields)>0){
$element['taxonomy_field']=[
'#type'=>'html_tag',
'#tag'=>'div',
'#value'=>$this->t('At least a Taxonomy Term reference field should be added to the View to use this Map Theming option.'),
'#attributes'=>[
'class'=>['geofield-map-warning'],
],
];
}
else{
$element['taxonomy_field']=[
'#type'=>'select',
'#title'=>$this->t('Taxonomy Field'),
'#description'=>$this->t('Chose the Taxonomy Field to base the Map Theming upon.'),