MapMapRepository Property |
Namespace: Telogis.GeoBase
// Create a Map object Telogis.GeoBase.Map myMap = new Telogis.GeoBase.Map(); // Set using SimpleRepository. If the requested data file doesn't exist, a FileNotFoundException will be thrown. myMap.MapRepository = new Telogis.GeoBase.Repositories.SimpleRepository(@"C:\MAPDATA.gbfs"); // NOTE: If no repository has been manually set, this will default to the CurrentThreadRepository Console.WriteLine("The repository used for this map is {0}", myMap.MapRepository); // 'The repository used for this map is MAPDATA'