Changes the way maps are created to prepare for fancy js map linking