make map image size configurable