如何使用ActiveReports制作地图类报表

在ActiveReports中使用交互式地图控件(Map),可将空间数据和分析数据相结合,以直观、有效的方式进行呈现,改进报表数据可视化效果的同时,还能为报表数据添加交互能力。用户可使用该控件,开发基于地理位置信息的交互式应用程序。

ActiveReports 8 新特性(6):地图控件(map)空间数据源、分析数据

地图数据包含两类数据:空间数据源(Spatial Data)和分析数据(Analytical Data).

ActiveReports 8 新特性(7):地图控件(map)实战篇

我们通过如下步骤实战一个带地图控件的AR8页面报表:Visual Studio winform工程添加页面报表 页面报表添加数据源(Data Source) 页面报表添加数据集(DataSet) 添加地图控件到页面报表并配置数据-空间数据源、分析数据 配置地图控件的外观 浏览页面报表(运行时效果) <a href="http://www.grapecity.com.cn/image.ashx?picture=AR8-map_thumb.gif"><img title="AR8-Design" style="border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px" border="0" alt="AR8-Design" src="http://www.grapecity.com.cn/image.ashx?picture=AR8-map_thumb.gif" width="614" height="446" /></a>

ActiveReports 8 新特性(5):地图控件(map)的组成元素

地图标题(Title) 视图区域(ViewPort) 图例(Lengend) 距离标尺(Distance Scale) 地图图层面板(Layers Pane)视图控制面板(View Pane) <a href="http://www.grapecity.com.cn/image.ashx?picture=image_364.png"><img title="AR8_map_title" style="border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px" border="0" alt="AR8_map_title" src="http://www.grapecity.com.cn/image.ashx?picture=image_364.png" width="614" height="393" /></a>

ActiveReports 8 新特性(1):交互式地图控件

ActiveReports 8 中新增的交互式地图控件(Map),可将空间数据和分析数据相结合,以直观、有效的方式进行呈现,改进报表数据可视化效果的同时,还能为报表数据添加交互能力。用户可使用该控件,开发基于地理位置信息的交互式应用程序。<br/><img src="/image.ashx?picture=image_thumb_328.png" alt="交互式地图控件" width="500px" />

【ActiveReports】在报表中显示Google地图

有些报表需求中需要我们显示国家、城市等地址信息,在报表中添加地图信息会让报表给最终用户代码更多有效信息。在报表中可以将地图作为图片添加进来,当一个图片显示在报表中时,该图片必须存放到本地计算机或者服务器中,这种处理方法在ActiveReports随机安装的示例报表(CountryFacts.rdlx)中已经介绍过,该示例中的图片是存放在本地文件夹中。然而,有些需求是要加载一些实时位置信息。