Set size and anchor position for embedded markers