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.
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.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family