public override void Init() { _bitmapStore = new MapControl.BitmapStoreOSM(); _searchProvider = new MapControl.SearchProviderOSM(); _tileGenerator = new MapControl.TileGeneratorOSM(this); _tilePanel = new MapControl.TilePanel(this); base.Init(); }
public override void Init() { _bitmapStore = new MapControl.BitmapStoreGoogle(); _searchProvider = new MapControl.SearchProviderGoogle(); _tileGenerator = new MapControl.TileGeneratorGoogle(this); _tilePanel = new MapControl.TilePanel(this); _bitmapStore.UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2"; base.Init(); }
public override void Init() { _mapFilesHandler = new OSMBinMap.MapFilesHandler(this); _bitmapStore = new MapControl.BitmapStoreOSMOffline(_mapFilesHandler); _searchProvider = new MapControl.SearchProviderOSM(); _tileGenerator = new MapControl.TileGeneratorOSM(this); _tilePanel = new MapControl.TilePanel(this); base.Init(); }