save and load map offset and scale