C# Class Mapsui.Providers.ArcGIS.Dynamic.ArcGISDynamicProvider

Inheritance: IProjectingProvider
Mostra file Open project: pauldendulk/Mapsui

Public Methods

Method Description
ArcGISDynamicProvider ( string url, ArcGISDynamicCapabilities arcGisDynamicCapabilities, string token = null ) : System

Create ArcGisDynamicProvider based on a given capabilities file

ArcGISDynamicProvider ( string url, string token = null ) : System

Create ArcGisDynamicProvider, capabilities will be parsed automatically

GetExtents ( ) : BoundingBox
GetFeaturesInView ( BoundingBox box, double resolution ) : IEnumerable
GetRequestUrl ( BoundingBox box, int width, int height ) : string

Gets the URL for a map export request base on current settings, the image size and boundingbox

IsCrsSupported ( string crs ) : bool?
TryGetMap ( IViewport viewport, IRaster &raster ) : bool

Retrieves the bitmap from ArcGIS Dynamic service

Private Methods

Method Description
CapabilitiesHelperCapabilitiesFailed ( object sender, EventArgs e ) : void
CapabilitiesHelperCapabilitiesReceived ( object sender, EventArgs e ) : void
CreateSr ( string crs ) : string
GetFormat ( ArcGISDynamicCapabilities arcGisDynamicCapabilities ) : string

Method Details

ArcGISDynamicProvider() public method

Create ArcGisDynamicProvider based on a given capabilities file
public ArcGISDynamicProvider ( string url, ArcGISDynamicCapabilities arcGisDynamicCapabilities, string token = null ) : System
url string url to map service example: http://url/arcgis/rest/services/test/MapServer
arcGisDynamicCapabilities ArcGISDynamicCapabilities
token string token to request service
return System

ArcGISDynamicProvider() public method

Create ArcGisDynamicProvider, capabilities will be parsed automatically
public ArcGISDynamicProvider ( string url, string token = null ) : System
url string url to map service example: http://url/arcgis/rest/services/test/MapServer
token string token to request service
return System

GetExtents() public method

public GetExtents ( ) : BoundingBox
return BoundingBox

GetFeaturesInView() public method

public GetFeaturesInView ( BoundingBox box, double resolution ) : IEnumerable
box BoundingBox
resolution double
return IEnumerable

GetRequestUrl() public method

Gets the URL for a map export request base on current settings, the image size and boundingbox
public GetRequestUrl ( BoundingBox box, int width, int height ) : string
box BoundingBox Area the request should cover
width int
height int
return string

IsCrsSupported() public method

public IsCrsSupported ( string crs ) : bool?
crs string
return bool?

TryGetMap() public method

Retrieves the bitmap from ArcGIS Dynamic service
public TryGetMap ( IViewport viewport, IRaster &raster ) : bool
viewport IViewport
raster IRaster
return bool