Class ArcGISDynamicProvider
Inheritance
System.Object
ArcGISDynamicProvider
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mapsui.Providers.ArcGIS.Dynamic
Assembly: Mapsui.dll
Syntax
public class ArcGISDynamicProvider : IProjectingProvider, IProvider
Constructors
| Improve this Doc View SourceArcGISDynamicProvider(String, ArcGISDynamicCapabilities, String)
Create ArcGisDynamicProvider based on a given capabilities file
Declaration
public ArcGISDynamicProvider(string url, ArcGISDynamicCapabilities arcGisDynamicCapabilities, string token = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | url to map service example: http://url/arcgis/rest/services/test/MapServer |
ArcGISDynamicCapabilities | arcGisDynamicCapabilities | |
System.String | token | token to request service |
ArcGISDynamicProvider(String, String)
Create ArcGisDynamicProvider, capabilities will be parsed automatically
Declaration
public ArcGISDynamicProvider(string url, string token = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | url to map service example: http://url/arcgis/rest/services/test/MapServer |
System.String | token | token to request service |
Properties
| Improve this Doc View SourceArcGisDynamicCapabilities
Declaration
public ArcGISDynamicCapabilities ArcGisDynamicCapabilities { get; }
Property Value
Type | Description |
---|---|
ArcGISDynamicCapabilities |
Credentials
Declaration
public ICredentials Credentials { get; set; }
Property Value
Type | Description |
---|---|
System.Net.ICredentials |
CRS
Declaration
public string CRS { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TimeOut
Timeout of webrequest in milliseconds. Default is 10 seconds
Declaration
public int TimeOut { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Token
Declaration
public string Token { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Url
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGetExtents()
Declaration
public BoundingBox GetExtents()
Returns
Type | Description |
---|---|
BoundingBox |
GetFeaturesInView(BoundingBox, Double)
Declaration
public IEnumerable<IFeature> GetFeaturesInView(BoundingBox box, double resolution)
Parameters
Type | Name | Description |
---|---|---|
BoundingBox | box | |
System.Double | resolution |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IFeature> |
GetRequestUrl(BoundingBox, Int32, Int32)
Gets the URL for a map export request base on current settings, the image size and boundingbox
Declaration
public string GetRequestUrl(BoundingBox box, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
BoundingBox | box | Area the request should cover |
System.Int32 | width | |
System.Int32 | height |
Returns
Type | Description |
---|---|
System.String | URL for ArcGIS Dynamic request |
IsCrsSupported(String)
Declaration
public bool? IsCrsSupported(string crs)
Parameters
Type | Name | Description |
---|---|---|
System.String | crs |
Returns
Type | Description |
---|---|
System.Nullable<System.Boolean> |
TryGetMap(IViewport, ref IRaster)
Retrieves the bitmap from ArcGIS Dynamic service
Declaration
public bool TryGetMap(IViewport viewport, ref IRaster raster)
Parameters
Type | Name | Description |
---|---|---|
IViewport | viewport | |
IRaster | raster |
Returns
Type | Description |
---|---|
System.Boolean |