阅读:1046回复:0
标注渲染
<P ><FONT face="Times New Roman">1. </FONT>标注渲染</P>
<P >通过<FONT face="Times New Roman">LableRenderer</FONT>对象实现,支持字符字段。通过设置标注渲染方式,指定要显示字段和设置<FONT face="Times New Roman">Symbol</FONT>实现标注渲染。其中用<FONT face="Times New Roman">Field</FONT>来指定标注来源字段。用<FONT face="Times New Roman">symbol</FONT>属性设置属性显示方式。用<FONT face="Times New Roman">symbolcount</FONT>说明采用<FONT face="Times New Roman">symbol</FONT>的数量。通过标注渲染,可以在图层上显示表示图形特征的显示文字。</P> <P >(标注偏移)有时会遇到地图上的标注位置重复可使用<FONT face="Times New Roman">xoffsetfield </FONT>和<FONT face="Times New Roman">yoffsetfield</FONT>(用来标注<FONT face="Times New Roman">x</FONT>,<FONT face="Times New Roman">y</FONT>方向位移量所采用的字段名称。)属性设置标注的偏移,要使用标注偏移,需在属性数据库中加入两个数字型字段,<FONT face="Times New Roman">xoffset</FONT>和<FONT face="Times New Roman">yoffset</FONT>用来存放偏移数值。</P> <P >(分级标注)用<FONT face="Times New Roman">field</FONT>属性得到分级标注字段<FONT face="Times New Roman">levelfield</FONT>属性得到分级的数值字段。<FONT face="Times New Roman">Maxlevel</FONT>和<FONT face="Times New Roman">minlevel</FONT>控制哪个级别的特征可被标注。</P> <P ><p><FONT face="Times New Roman"> </FONT></p></P> <P ><p><FONT face="Times New Roman"> 看看有没有问题??</FONT></p></P> |
|