Open this page in the API Guide

IMapService.GetMapDataSvg Method (ICollection<Guid>, ICollection<Guid>, ICollection<String>, ICollection<Guid>, ViewportData, RectangleF, MapCenterPosition, 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 (25.1.0.1000)
Syntax
MapDataInfoSvg GetMapDataSvg(
	ICollection<Guid> metricSetDataRequestIds,
	ICollection<Guid> metricSetResourceFileIds,
	ICollection<string> metricSetResourceFileNames,
	ICollection<Guid> requestedMapIds,
	ViewportData viewportData,
	RectangleF dynamicSymbolBounds,
	MapCenterPosition mapCenterPosition,
	MapProjectionType projectionType,
	bool metricSetDataChanged,
	ICollection<Guid> availableLayerIds,
	bool fetchOnlyRequestedResources
)

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.
dynamicSymbolBounds
Type: System.Drawing.RectangleF
A bounding box for symbols created from the data.
mapCenterPosition
Type: Dundas.BI.Utility.Map.MapCenterPosition
An object that represents the coordinates to center the map on and the zoom level to use.
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
ExceptionCondition
ArgumentNullExceptionmetricSetDataRequestIds and/or metricSetResourceFileIds and/or requestedMapIds and/or viewportData are null.
NoPrivilegeExceptionA resource specified in requestedMapIds is not accessible to the caller.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also