Thread:Talk:Semantic Maps examples/Customizing query maps/Different icon for every location

Can I use a different icon for every location? For example, the country flag for every capital. I don't know how to use a property (where I save the flag filename) to fill the icon parameter.