Show / Hide Table of Contents

    Class ArcGISDynamicProvider

    Inheritance
    System.Object
    ArcGISDynamicProvider
    Implements
    IProjectingProvider
    IProvider
    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 Source

    ArcGISDynamicProvider(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

    | Improve this Doc View Source

    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 Source

    ArcGisDynamicCapabilities

    Declaration
    public ArcGISDynamicCapabilities ArcGisDynamicCapabilities { get; }
    Property Value
    Type Description
    ArcGISDynamicCapabilities
    | Improve this Doc View Source

    Credentials

    Declaration
    public ICredentials Credentials { get; set; }
    Property Value
    Type Description
    System.Net.ICredentials
    | Improve this Doc View Source

    CRS

    Declaration
    public string CRS { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    TimeOut

    Timeout of webrequest in milliseconds. Default is 10 seconds

    Declaration
    public int TimeOut { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Token

    Declaration
    public string Token { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Url

    Declaration
    public string Url { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    GetExtents()

    Declaration
    public BoundingBox GetExtents()
    Returns
    Type Description
    BoundingBox
    | Improve this Doc View Source

    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>
    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    IsCrsSupported(String)

    Declaration
    public bool? IsCrsSupported(string crs)
    Parameters
    Type Name Description
    System.String crs
    Returns
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    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

    Implements

    IProjectingProvider
    IProvider
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX