mynama
路人甲
路人甲
  • 注册日期2006-10-10
  • 发帖数11
  • QQ
  • 铜币199枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1290回复:1

有点奇怪,求助!

楼主#
更多 发布于:2008-03-21 21:45
<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>
喜欢0 评分0
cl991036
管理员
管理员
  • 注册日期2003-07-25
  • 发帖数5913
  • QQ14265545
  • 铜币29658枚
  • 威望213点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • GIS帝国铁杆
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>
没钱又丑,农村户口。头可断,发型一定不能乱。 邮箱:gisempire@qq.com
举报 回复(0) 喜欢(0)     评分
游客

返回顶部