阅读:1519回复:2
[讨论]ARCIMS 动态添加图层问题
<P>我要做一个动态添加图层功能 该图层没有写入配置AXL中</P>
<P>我是这样写的,但是刷新后这个图层并不显示,但是打印xml响应的时候是有这段的</P> <P>function addShell(){</P> <P> var theString = '';<BR> <BR> theString += '<WORKSPACES>\n';<BR> theString += ' <SDEWORKSPACE name="sde_ws-2" server="192.168.168.88" instance="port:5151" database="" user="sde" encrypted="true" password="EPYCJM" geoindexdir="C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\" />\n';<BR> theString += '</WORKSPACES>\n';<BR> <BR> theString += '<LAYER type="featureclass" name="shelllayer" visible="true" id="65">\n';<BR> theString += '<DATASET name="BASIC_EDITOR.GNQ" type="polygon" workspace="sde_ws-2" />\n';</P> <P> theString += ' <SIMPLERENDERER>\n';<BR> theString += ' <SIMPLEPOLYGONSYMBOL boundarytransparency="1.0" filltransparency="1.0" fillcolor="127,27,27" boundarycaptype="round" />\n';<BR> theString += ' </SIMPLERENDERER>\n';<BR> theString += ' </LAYER>\n';<BR><BR><BR> return theString;<BR>}</P> <P>求大家帮助</P> |
|
1楼#
发布于:2006-08-07 15:50
既不报错 也不显示 实在很困扰
|
|
2楼#
发布于:2006-08-07 17:06
一筹莫展ing……
|
|