added MapViewModel and wired up the options show/hide to use it instead of jquery.