ASP.NET Pack Programmer's Guide
MapLayer.LoadFromFile Method (String, Boolean, String)
See Also
 





Loads the map data from the specified ESRI map file.

Namespace: MindFusion.Mapping.WebForms
Package: MindFusion.Mapping.WebForms

 Syntax

C#  Copy Code

public void LoadFromFile (
    string fileName,
    bool loadDatabase,
    string labelField
)

Visual Basic  Copy Code

Public Sub LoadFromFile( _
    fileName As String, _
    loadDatabase As Boolean, _
    labelField As String _
)

 Parameters

fileName

The file name of the map file.

loadDatabase

true to load the database associated with the specified map file, otherwise false.

labelField

A string specifying the name of the database column whose fields should be used as map element labels.

 See Also

LoadFromFile Method Overload List
MapLayer Members
MapLayer Class
MindFusion.Mapping.WebForms Namespace