Added map zoom code from Jespers branch