public void SetMap(string mapPath, Size boxSize) { _pgmMap = new PGM(mapPath); Map = _pgmMap.ToBitmap(); BoxSize = boxSize; IsMapInit = true; AutoScale(); }
public MapTool(string mapPath, Size boxSize) { _scale = 1; _pgmMap = new PGM(mapPath); Map = _pgmMap.ToBitmap(); BoxSize = boxSize; IsMapInit = true; AutoScale(); }