ArcGIS API for WPF - Library Reference
GetUrl Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Toolkit.DataSources Namespace > WmsLayer Class : GetUrl Method

extent
The extent.
width
The width.
height
The height.
onComplete
OnUrlComplete delegate.
Gets the URL. Override from DynamicMapServiceLayer

Syntax

Visual Basic (Declaration) 
Public Overrides Sub GetUrl( _
   ByVal extent As Envelope, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal onComplete As DynamicMapServiceLayer.OnUrlComplete _
) 
C# 
public override void GetUrl( 
   Envelope extent,
   int width,
   int height,
   DynamicMapServiceLayer.OnUrlComplete onComplete
)

Parameters

extent
The extent.
width
The width.
height
The height.
onComplete
OnUrlComplete delegate.

Remarks

The Map has a private method loadLayerInView which calls Layer.Draw. The DynamicMapServiceLayer abstract class overrides the Draw method and calls DynamicMapServiceLayer.GetUrl which must be implemented in a subclass. The last parameter is the OnUrlComplete delegate, which is used to pass the appropriate values (url, width, height, envelope) to the private DynamicMapServiceLayer.getUrlComplete method.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.