A Sandcastle Documented Class Library

# IMapService GetMapDataSvg Method (ICollection Guid , ICollection Guid , ICollection String , ICollection Guid , ViewportData, MapProjectionType, Boolean, ICollection Guid , Boolean)

Gets a MapDataInfoSvg object which is an SVG representation of the map elements.

Namespace: Dundas.BI.Utility.Map
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    MapDataInfoSvg GetMapDataSvg(
    	ICollection<Guid> metricSetDataRequestIds,
    	ICollection<Guid> metricSetResourceFileIds,
    	ICollection<string> metricSetResourceFileNames,
    	ICollection<Guid> requestedMapIds,
    	ViewportData viewportData,
    	MapProjectionType projectionType,
    	bool metricSetDataChanged,
    	ICollection<Guid> availableLayerIds,
    	bool fetchOnlyRequestedResources
    )

    Function GetMapDataSvg (
    	metricSetDataRequestIds As ICollection(Of Guid),
    	metricSetResourceFileIds As ICollection(Of Guid),
    	metricSetResourceFileNames As ICollection(Of String),
    	requestedMapIds As ICollection(Of Guid),
    	viewportData As ViewportData,
    	projectionType As MapProjectionType,
    	metricSetDataChanged As Boolean,
    	availableLayerIds As ICollection(Of Guid),
    	fetchOnlyRequestedResources As Boolean
    ) As MapDataInfoSvg

    MapDataInfoSvg^ GetMapDataSvg(
    	ICollection<Guid>^ metricSetDataRequestIds,
    	ICollection<Guid>^ metricSetResourceFileIds,
    	ICollection<String^>^ metricSetResourceFileNames,
    	ICollection<Guid>^ requestedMapIds,
    	ViewportData^ viewportData,
    	MapProjectionType projectionType,
    	bool metricSetDataChanged,
    	ICollection<Guid>^ availableLayerIds,
    	bool fetchOnlyRequestedResources
    )

    abstract GetMapDataSvg :
            metricSetDataRequestIds : ICollection<Guid> *
            metricSetResourceFileIds : ICollection<Guid> *
            metricSetResourceFileNames : ICollection<string> *
            requestedMapIds : ICollection<Guid> *
            viewportData : ViewportData *
            projectionType : MapProjectionType *
            metricSetDataChanged : bool *
            availableLayerIds : ICollection<Guid> *
            fetchOnlyRequestedResources : bool -> MapDataInfoSvg

#### Parameters

metricSetDataRequestIds
  Type: System.Collections.Generic
  ICollection
  Guid
  The IDs of each ClientRequest for metric sets attached to a map control.
metricSetResourceFileIds
  Type: System.Collections.Generic
  ICollection
  Guid
  The IDs of resource files required based on the ClientRequest for each metric set.
metricSetResourceFileNames
  Type: System.Collections.Generic
  ICollection
  String
  The names of resource files required based on the ClientRequest for each metric set.
requestedMapIds
  Type: System.Collections.Generic
  ICollection
  Guid
  The IDs of map resource files requested by users.
viewportData
  Type: Dundas.BI.Utility.Map
  ViewportData
  An object that represents the current location of the view port and the distance is.
projectionType
  Type: Dundas.BI.Utility.Map
  MapProjectionType
  The type of projection that will be applied to map elements.
metricSetDataChanged
  Type: System
  Boolean
  Indicates that the metric set data bound to the control has changed.
availableLayerIds
  Type: System.Collections.Generic
  ICollection
  Guid
  Indicates the layer IDs that contain the map resources required based on data retrieval request for ClientRequest.
fetchOnlyRequestedResources
  Type: System
  Boolean
  Indicates if map control only fetches map resources that are explicitly requested.

#### Return Value

Type: MapDataInfoSvg
A MapDataInfoSvg object containing an SVG representation of the map elements.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | metricSetDataRequestIds and/or metricSetResourceFileIds and/or requestedMapIds and/or viewportData are .
NoPrivilegeException | A resource specified in requestedMapIds is not accessible to the caller.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IMapService Interface
GetMapDataSvg Overload
Dundas.BI.Utility.Map Namespace