Generate map tiles from c#