Way to create rectangle marker?

Here an example: