Provides access to additional members that support initializing a map server.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
When To Use
In order to use MapServer in COM you need to use IMapServerInit. Set a file path location of the target map document and a file path location for the output.
Members
Description | ||
---|---|---|
Connect | Initializes the map server with an mxd or pmf file stored at the specified path. The path must be accessible to the server machine. | |
FilePath | The map document path. | |
MaxBufferCount | The maximum number of records buffered on the server for display. | |
MaxImageHeight | The maximum height in pixels of an image request. | |
MaxImageWidth | The maximum width in pixels of an image request. | |
MaxRecordCount | The maximum number of records returned for query results (Identify, Find, QueryFeatureData, and QueryHyperlinks). | |
PhysicalCacheDirectory | The physical directory for cache files. | |
PhysicalOutputDirectory | The physical directory for output files. | |
SOMCacheDirectory | The parent directory for cache files. | |
SOMVirtualCacheDirectory | The parent virtual directory for cache files. | |
StartWithData | An alternative to calling Connect(). This method synthesizes a map document with a single layer based on the given IDataset object and initializes the map server for processing. | |
Stop | Clears out all of the map objects in memory. The client must call one of the Start methods again before attempting any other operations. | |
VirtualCacheDirectory | The virtual directory for cache files. | |
VirtualOutputDirectory | The virtual directory for output files. |
Inherited Interfaces
Interfaces | Description |
---|---|
IMapServerInit | Provides access to members that support initializing a map server. |
CoClasses that implement IMapServerInit2
CoClasses and Classes | Description |
---|---|
MapServer | The MapServer component provides programmatic access to the contents of a map document on disk, and creates images of the map contents based on user requests. Designed for use in building map-based web services and web applications. |