Added support for on-the-fly map reprojection