学习ArcXML文档的笔记

1.激发我解决饼图图例灵感的一个图例解释:

LEGEND can be used in a GET_IMAGE request to include a legend for the requested map. The legend is an additional image in the same format as the map: JPG, PNG, or GIF. DRAW can be used to request only a legend rather than both a legend and a map.

The following GET_IMAGE request includes a default LEGEND since no attributes are used. DRAW has the attribute map set to "false" so that only a legend is returned 

由此我就可以推出只让其返回一个图例用来配对饼图。

2.有关GroupRenderer在ArcXML的一个解释。仔细阅读之后,你会发现它的妙处。

Groups two or more renderers together. Common uses are to group feature rendering and labeling, to use multiple scale-dependent renderers on the same layer, and to create complex symbology

对一个图层,可以采用多种渲染方式,同时渲染。那么要出图例的话,是不是就可以给两个Render对象,一个是SimpleLableRenderer,另一个是你专门处理图例的Render对象(它的专题图设置为没有效果)。这个GroupRenderer的渲染效果会怎么样?

渲染结果是饼图与一个图例(你设置的相应图例)。达到目的了。哈哈。。。。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值