Refact setPositionMarker