trying to get the map scaling to work - still not working right yet.