This document is archived and information here might be outdated.  Recommended version.


IMapCooker2 Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapCooker2 Interface

Provides access to more members that controls a map cache generator.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

This interface is new at ArcGIS 9.3. It supersedes IMapCooker.

Members

Description
Method AddCachedLayers Adds all cached layers in the map cache.
Method AddLayer Adds a layer to the map cache.
Read/write property Antialiasing Indicates if antialiasing should be used.
Read/write property CacheOnDemand Indicates if the service is cached on demand.
Method Clear Clears cache for a given layer within a given extent.
Method ClearAll Clears cache for all layers.
Method Connect Connects to a given map and its cache.
Method Delete Deletes map service cache directory.
Method DeleteByExtent Deletes cache for a given layer within a given extent.
Method Draw Draws a given layer to the specified display.
Method Exit Exits the map cache generator host process.
Read/write property Extent The map cache extent.
Read/write property Format The tile cache format.
Method Generate Fully generates cache for a given layer.
Method GetCacheDirectory Gets cache directory for a given layer.
Method GetStatusTileCount number of tiles processed in the current job
Method GetTile Gets a tile for a given tile location from a given layer.
Method HasCache Indicates if there is any cache.
Method HasLayerCache Indicates if there is a cache for a given layer.
Read/write property MaxTileCount The maximum number of map tiles to be generated.
Read-only property NumLevels The number of map cache levels.
Read/write property Path The map cache path.
Method PutTile Puts a tile for a given tile location for a given layer.
Method PutTilePosition Sets the current map tile position.
Method QueryTilePosition Queries for the current map tile position.
Method SetDefaultLODInfos Sets default LOD Info for a given number of levels.
Method Snap Snaps a view extent to one of map cache levels.
Read/write property TileCacheInfo The tile cache info.
Read/write property TileImageInfo The map cache tile image info.
Method Update Updates cache for a given layer within a given extent.
Method UpdateByGeometry Deletes cache for a given layer within a given extent.
Method UpdateMapServerCacheScales Updates Map Server's Cache Scales.
Method WriteTilingScheme Writes the tiling scheme for the service.

Inherited Interfaces

Interfaces Description
IMapCooker Provides access to members that controls a map cache generator.

CoClasses that implement IMapCooker2

CoClasses and Classes Description
ImageCooker ImageCooker Class.
MapCookerX (esriCartoX) A map cache generator class.