ArcGIS API for Windows Phone - 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
)

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.

Parameters

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

Requirements

Target Platforms:Windows Phone 7

See Also

© ESRI, Inc. All Rights Reserved.