'Declaration
Public Overloads Function PlotData( _ ByVal mapName As String, _ ByVal filePath As String, _ ByVal fieldMapping As DatasetFieldMapping, _ Optional ByVal cancelTracker As ICancelTracker, _ Optional ByVal tableName As String, _ Optional ByVal metadata As Metadata, _ Optional ByVal mapFolder As String _ ) As PlotDataResult2
public PlotDataResult2 PlotData( string mapName, string filePath, DatasetFieldMapping fieldMapping, ICancelTracker cancelTracker, string tableName, Metadata metadata, string mapFolder )
Parameters
- mapName
- Name of map, you want to add layer on.
- filePath
- Path to file with layer's data.
- fieldMapping
- Field mapping for the file.
- cancelTracker
- Cancellation tracker. Optional. You can provide custom solution to break time-consuming processing. See ICancelTracker interface.
- tableName
- Table/sheet name inside the file. Optional. You need to specify table/sheet name only when you plot an Excel file with multiple worksheets or ranges inside. Default value is null (Nothing in Visual Basic).
- metadata
- Meta information about data. Optional. Default value is null (Nothing in Visual Basic). Pass metadata only if you develop a plug-in for Map Business Online.
- mapFolder
- Folder where specified map is located. Optional. Default value is MBO.MapFolder.MyMaps.
Return Value
Information on data plotted.