Add: Method random of MapData, mainly for testing.