I suggest having a look at how the debug plugin does it, it uses several different markers.
Ha! That was exactly what I needed. An example of how it all works. Now I understand, that I need to set those markers first and only then I can use them. Great thanks. Now I have cool, short arrows in two different colors :-)