![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
DisplayOnMap Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > GraphicsLayerNode Class : DisplayOnMap Method |
- taskResults
- The TaskResults control the node is associated with.
Visual Basic (Declaration) | |
---|---|
Public Overrides Function DisplayOnMap( _ ByVal taskResults As TaskResults _ ) As String |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As GraphicsLayerNode Dim taskResults As TaskResults Dim value As String value = instance.DisplayOnMap(taskResults) |
C# | |
---|---|
public override string DisplayOnMap( TaskResults taskResults ) |
Parameters
- taskResults
- The TaskResults control the node is associated with.
Return Value
Name of the resource to which the graphics layer has been added.This method adds the graphics layer that the GraphicsLayerNode contains onto the Map. It assumes the TaskResults control passed in has a Map control associated with it. The graphics layer is added to a graphics resource in the MapResourceManager associated with the Map. This graphics resource is added dynamically to the MapResourceManager if it does not already exist. The graphics layer resource, which is named in the return string value, may then need to be refreshed explicitly in order for the map to show the new graphics.
The returned resource name value may be used to refresh the resource. This is useful when the Map contains multiple resources and the Map control uses web-tier blending (see Map.ImageBlendingMode).
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family