Question - Individual marker icons?
Opened this issue · 5 comments
TomQv commented
Is it possible to to assign different icons to some markers?
Not all the same icon?
albig commented
TomQv commented
Ok, I created the marker with my icon, but where is fe_groups or sys_category to select it?
Valkyrion800 commented
phil64 commented
Hi,
A little "hack" to use the image of tt_address record as marker icon:
In Typoscript
plugin.tx_odsosm_pi1 {
icon {
tt_address = FILES
tt_address {
references {
table = tt_address
uid.field = uid
fieldName = image
}
maxItems = 1
renderObj = IMAGE
renderObj {
file {
import.data = file:current:uid
treatIdAsReference = 1
}
}
}
}
}
And change the line 480 of PluginControler.php with
if ($this->config['icon.'][$table] == 'IMAGE'||$this->config['icon.'][$table] =='FILES') {