摘要: 使用RadMap实现GIS效果中调用地图缓存,缓存都是PNG格式保存在文件夹中,以Y_X.png格式存放需要继承抽象类 TiledMapSource 并重写GetTile方法View Code 1 public class TiledMapSource : MultiScaleTileSource, IMapSource 2 { 3 public static readonly DependencyProperty OpacityProperty; 4 5 protected TiledMapSource(int minZoomLevel, int... 阅读全文
posted @ 2011-08-11 10:13 菊花香 阅读(847) 评论(1) 推荐(0) 编辑
摘要: 目前项目使用第三方空间Telerik RadControls,在数据导出方面提供便利 可以直接使用RadGridView,将GridView中数据导出为需要的格式。//表格数据导出private void btn_export_Click(object sender, RoutedEventArgs e) { string extension = ""; ExportFormat format = ExportFormat.Html; RadComboBoxItem comboItem = this.rcb_format.... 阅读全文
posted @ 2011-08-11 09:07 菊花香 阅读(2940) 评论(4) 推荐(0) 编辑