阅读:1389回复:1
有点奇怪,求助!
<P>vs.net2005+ArcGis server9.2环境下写下代码:</P>
<P> ESRI.ArcGIS.Server.WebControls.WebMap webmap = <FONT color=#dd2248>Map1.CreateWebMap()</FONT></P> <P>出现错误 (Map1为控件)</P> <P><FONT color=#d52b6f>“ESRI.ArcGIS.ADF.Web.UI.WebControls.Map”并不包含“CreateWebMap”的定义</FONT></P> <P><FONT color=#d52b6f><FONT color=#000000>Map1中找不到</FONT><FONT color=#000000>CreateWebMap()方法 ,求助 !</FONT><BR></P></FONT> |
|
1楼#
发布于:2008-03-30 23:57
ESRI.ArcGIS.Server.WebControls.Map has a function for CreateWebMap(). Not the case for the ADF flavour of Map control. CreateWebMap was the methodology at 9.1 and before (pre-ADF). Conceptually, the ESRI.ArcGIS.Server library and the web ADF are much different b/c of resources and functionalities. Probably why the WebMap class died at 9.1 (only my opinion). <BR>In:)<BR><a href="http://forums.esri.com/Thread.asp?c=158;f=1701;t=218433;mc=5#msgid668221" target="_blank" >http://forums.esri.com/Thread.asp?c=158;f=1701;t=218433;mc=5#msgid668221</A>
|
|
|