2007年8月22日
摘要: ArcGis server,如何在Task中实现 下拉列表和 checkbox 和 radiobutton.
ArcGis server教程系列
阅读全文
posted @
2007-08-22 17:35 JavaPoint 阅读(1836) |
评论 (2) |
编辑 收藏
2007年8月16日
摘要:
阅读全文
posted @
2007-08-16 16:59 JavaPoint 阅读(884) |
评论 (0) |
编辑 收藏
摘要:
阅读全文
posted @
2007-08-16 11:15 JavaPoint 阅读(1603) |
评论 (0) |
编辑 收藏
当需要控制图层的可见性时,可以使用
IMapDescription mapdescription = webMap.MapDescription;
webMap.ManageLifetime(mapdescription);
ILayerDescriptions layerdec = mapdescription.LayerDescriptions;
for(int i=0;i < mapdescription.LayerDescriptions.Count; i++)
{
ILayerDescription onelayerdesc = layerdec.get_Element(i);
onelayerdesc.Visible = true;
}
posted @
2007-08-16 11:11 JavaPoint 阅读(2359) |
评论 (5) |
编辑 收藏
ArcGIS Server开发——标注
[C#写法]
private void LabelField(IFeatureLayer pFeatureLayer,IServerContext pServerContext)
{
IGeoFeatureLayer pGeoFeatureLayer = pFeatureLayer as IGeoFeatureLayer;
pGeoFeatureLayer.AnnotationProperties.Clear();
IAnnotateLayerPropertiesCollection pAnnoLayerPropsColl = pGeoFeatureLayer.AnnotationProperties;
ILabelEngineLayerProperties pLabelEngine;
pLabelEngine = pServerContext.CreateObject("esriCarto.LabelEngineLayerProperties") as ILabelEngineLayerProperties;
pLabelEngine.Expression = "[Field]";
IAnnotateLayerProperties pAnnoLayerProps = pLabelEngine as IAnnotateLayerProperties;
pAnnoLayerPropsColl.Add(pAnnoLayerProps);
pGeoFeatureLayer.DisplayAnnotation = true;
posted @
2007-08-16 11:10 JavaPoint 阅读(790) |
评论 (0) |
编辑 收藏