The behavior of traffic participants is full of uncertainties in the real world. It depends on their intentions, the road layout, and the interaction between them. Probabilistic intention and motion predictions are unavoidable to safely navigate in complex scenarios. In this work, we propose a framework to compute the motion prediction of the surrounding vehicles taking into account all possible routes obtained from a given map. To that end, a Dynamic Bayesian Network is used to model the problem and a particle filter is applied to infer the probability of being on a specific route and the intention to change lanes. Our framework, based on Markov chains, is generic and can handle various road layouts and any number of vehicles. The framework is evaluated in two scenarios: a two-lane highway and a three-lane merging highway. Finally, the influence of a set of lane-changing methods is evaluated on the predictions of the vehicles present on the scene.