Map Business Online SDK
PlotData(String,String,DatasetFieldMapping,ICancelTracker,String,Metadata,String) Method

MBO.Server Namespace > Server Class > PlotData Method : PlotData(String,String,DatasetFieldMapping,ICancelTracker,String,Metadata,String) Method
Name of map, you want to add layer on.
Path to file with layer's data.
Field mapping for the file.
Cancellation tracker. Optional. You can provide custom solution to break time-consuming processing. See ICancelTracker interface.
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).
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.
Folder where specified map is located. Optional. Default value is MBO.MapFolder.MyMaps.
Plots data from specified file on map.
Syntax
'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

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.
Remarks
Following data file formats are supported:
See Also

Reference

Server Class
Server Members
Overload List
PlotData(String,String,DataTable,DatasetFieldMapping,ICancelTracker,Metadata,String) Method